Rich Attribute Figures

Description

The RichAttributeFigure is used to render an EObject the same way as a simple attribute value (in other words with an AttributeFigure).

It is helpful when it is not necessary to show the whole content of an EObject as a complete node.

A RichAttributeFigure label is configured through an OCL expression (in order to be flexible enough to meet your own needs).

For example, with the school sample, it is possible to represent the Students directly in the Classroom nodes (see the right diagram) instead of representing them fully as nodes (as on the left diagram) :

Properties

The RichAttributeFigure accepts the following properties :

CategoryNameDescriptionDefault literal
Appearance labelExpressionThe OCL expression to use to build the string representation for the EObject that is targeted by the EReference 
labelStyleThe style of the attribute figure's label 
Model eReferenceThe EReference that gives the rich attribute(s) EObject(s)