Creating a diagram

How do I create a diagram in Modelio?

In the “Model” view, you can create different types of diagram using the “Create UML diagram” command.

1

Creating a class diagram

Key:

  1. Select the element into which you want to create a diagram.
  2. Click on the “Create a UML diagram”.
  3. Select a type of diagram.
  4. Enter a name for the new diagram or leave the default name.
  5. If the diagram context is different from the selected model element, select a new one (diagram context is dealt with in the next paragraph).
  6. You can type in a description of the new diagram.
  7. Click on “OK” to complete the new diagram creation.
  8. Non-applicable diagrams are grayed and can be masked by checking the “Show only applicable diagrams” tickbox.

The diagram context

The diagram context is the element the diagram is associated with. In the “Diagram edition” view, the diagram background represents this element.

To change the context of a diagram during its creation (see step 5 of previous screenshot), simply carry out the following steps:

  1. Click in the “Context” field.
  2. Move your cursor over the model elements in the “Model” view. When the cursor changes to 4, the element can be selected as a context.

Choosing the diagram’s context among model elements

Diagrams supported by Modelio

As standard, Modelio supports the following types of diagram:

Additional diagrams are provided by specific modules such as Analyst, TOGAF Architect, and so on.

The TOGAF diagram creation command