-
Hi, guys! Can I create a Grouping/Hierarchical nodes with GLSP? Such as hierarchical states in UML or Swimlines in BPMN? If so, can you point me to an example? original thread by execc |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, the HTML client of GLSP supports node hierarchy and compartments, so you can group multiple elements within each other (see for instance EClasses in Ecore GLSP as an example for a rectangle that contains additional elements, such as attributes). However, currently it doesn't support XY layouts in compartments, i.e. that you can move elements freely within a container that itself is movable. |
Beta Was this translation helpful? Give feedback.
Hi, the HTML client of GLSP supports node hierarchy and compartments, so you can group multiple elements within each other (see for instance EClasses in Ecore GLSP as an example for a rectangle that contains additional elements, such as attributes). However, currently it doesn't support XY layouts in compartments, i.e. that you can move elements freely within a container that itself is movable.
We had a few use cases already in that direction but never got to fully implement that. Partly it can be worked around by either two strategies: 1. navigating from a compartment into another diagram that shows and allows to arrange the internals (useful for instance in package diagrams) and 2. make…