Skip to content

Grouping/Hierarchical Nodes #353

Answered by planger
glsp-bot asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by planger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants