Hello to all! I'm new here and the reason why I am creating this post is how I should modify the structure of a node.
I know I can define a node with this notation
But I want the node have two rectangles as demonstrated in the tutorial EuGENia: Affixed Nodes in GMF (I can't post links). The problem is that in this example the node Component has a @gmf.affixed to another node and I want the two rectangles in the same node because I just have one class in the metamodel to define the two rectangles.
How can I do that? I must change the @gmf.node or create a ECore2GMF.eol?
I can not find any documentation regarding this or similar questions, can someone help me in this situation? Thank you!
I'm not sure I fully understand what the desired graphical syntax would look like. Could you please draw a sketch of the envisioned editor and attach it here with a copy of your metamodel so that I can advise?
I did what I wanted, which was a small rectangle and one large rectangle on the same node. However I saw no method of filling the small rectangle with black background. How can I do this? The metamodel is defined in the following textual representation: