Showing and masking elements in diagrams

Introduction

Diagrams can quickly become cluttered and consequently difficult to work with, if all model elements, their contents and associated links are visible. For this reason, Modelio lets you decide whether to show or mask diagram components and referenced elements.

Elements can be shown by:

Elements can be masked by:

Showing using the drag&drop from the “Model” view

2

Showing one class using the drag&drop
  1. Left-click on the element in the “Model” view.
  2. Drag the element into the diagram and release the mouse button.

Showing using the “Unmask” command

3

Showing a generalization between two classes
  1. Right-click on the element in the diagram edition view.
  2. In the Unmask menu, click on the chosen command.

Showing using the Symbol view unmask policy property

6

  1. Right-click on the element in the diagram edition view.
  2. In the “Symbol” view, edit the desired value field on the concerned element.

Showing all the internal elements of a class

The “Symbol” view on an element allows you to define an automatic unmask policy for its internal elements, according to their visibility:

Representation options

In Modelio diagrams, you can define a representation option for each and every diagram element in the Symbol view.

4

Choosing to display the visibility on a class
  1. Edit the desired value field on the concerned element.

Masking an element

5

Masking a class using the diagram edition view toolbar
  1. Left-click on the element in the diagram edition view.
  2. Click on the “Mask selection” button of the diagram edition view toolbar.