Community
Participate
Working Groups
Created attachment 247758 [details] Expand/collapse video I create viewers for EMF model. Sometimes diagrams contains several nested container levels. By default all levels shown on diagram. For small diagram it's normal. But for big diagrams it's very uncomfortable for viewing. There is need "expand/collapse" for containers. It's like on video in attachement.
In Bug 470860, it is planned to add this kind of collapse for compartments [1], [2] but not for all containers at the moment. When it's available (normally in Sirius 3.1 planned for late October), you might try to . add a new child container mapping (B) in your current container mapping (A) (with the same domain class and var:self as semantic candidates expression), check the hide label per default in the style description of the new mapping . move the children node/container mappings of A in B . add B to the delete tool which handles A if it exists. . change the children presentation of A to vertical stack This will produce a container with a single compartment which will be collapsable after correction of Bug 470860. [1] https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#compartments [2] https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#graphical_elements