Containers

Overview

It is possible to represent the EClass node as containers (or cluster nodes if we use the Graphviz terminology). Child nodes will then appear as nested figures.

To do this, you simply have to select the EReferences that you want to be used to select the nested nodes (through the nestedFiguresEReferences property of the corresponding ClassFigure.

Be aware that only containment references are allowed, and once an EReference as been choosen in the nested figures, it cannot be chosen in a ReferenceFigure of the same ClassFigure.

Be aware that only containment references are allowed, and once an EReference as been choosen in the nested figures, it cannot be chosen in a ReferenceFigure of the same ClassFigure.

Example #1 (basic)

For example, with the school sample, if we decide to select the students EReference in the Classroom's ClassFigure, we get this result :

(Click to enlarge)
Note : the AttributeFigures of the Classroom's ClassFigure have also been removed.

Example #2 (nested containers)

If we eve, decide to select the classrooms EReference in the School's ClassFigure, we get this result :

(Click to enlarge)
Note : the AttributeFigures of the School's ClassFigure have also been removed.