Chapter 3. Display Options

Table of Contents

Color Associated Elements
Filtering

Color Associated Elements

There is a lot of information that requires to be inferred from the usage context of a model element. E.g. a node contained in a rule's LHS may be preserved or might be deleted. This depends on the existence of a mapping from the node to a node in the RHS. Inferred information is presented by the different icons. This way the inferred information can be presented in concise manner that does not produce visual noise.

Knowing an element's semantics is quite helpful for reading and understanding a transformation. For editing a transformation this is not sufficient. One usually requires not only the information on how an element is affected but which associated elements have an impact on the element's semantics. Therefore the editor provides an option to color associated model elements ( Figure 3.1, “Color associated Model Elements” ) .

Figure 3.1. Color associated Model Elements

Color associated Model Elements


Figure 3.2, “Colored Model Elements” shows the effect of this option. The selected Node has one outgoing reference(marked red) and one incoming reference(marked green). As reflected by the icon, the node is preserved and therefore is the image of a mapping(marked yellow). The corresponding node in the LHS is colored blue.

Figure 3.2. Colored Model Elements

Colored Model Elements


Optionally the tree can be expanded automatically to reveal those elements.

Figure 3.3. Expand to associated Model Elements

Expand to associated Model Elements