Delete Element Based Edge together with its Target/Source [message #1743651] |
Sun, 18 September 2016 04:57  |
Eclipse User |
|
|
|
Hello,
I would like to implement the following behavior:
- If a Node/Container is deleted, I want all related (Element Based) Edges (outgoingEdges, incomingEdges) to be deleted too. At the moment, the edge just disappears with the node from the diagram, so I can not see it. But in the corresponding MyTry.mymodel (in the mymodel.example folder) it still exists.
- If a (Element Based) Edge is deleted, I do NOT want the related Nodes/Containers (target, source) to be deleted.
How or better where do I implement this?
I tried it with adding a "Delete Operation" to the Node/Container to invoke also deleting the edge, when deleting the Node/Container:
Element Edition > Delete Element > Change Context: var:element.incomingEdges > Remove
But that does not work. I would appreciate any hints.
Thank you
Xing
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02820 seconds