Cannot use attributes of a super GraphModel in Gratext
If there is a GraphModel SupGraph
with attributes (label
) and another GraphModel SubGraph
that extends SupGraph
, the SubGraph
's Gratext will show an error for attributes defined in SupGraph
.
Example
SupGraph.mgl
id info.scce.cinco.product.test.sup
graphModel SupGraph {
diagramExtension "sup"
containableElements(*)
attr EString as label := "Graph"
}
SubGraph.mgl
import "model/SupGraph.mgl" as Sup
id info.scce.cinco.product.test.sub
graphModel SubGraph extends Sup::SupGraph {
diagramExtension "sub"
containableElements(*)
}
Test.sub
SubGraph _q4Wx0BRaEeuRy_YuipZXMw {
// Error in the following line: "mismatched input 'label' expecting '}'"
label "Graph"
}