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.


Creating a class diagram


  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:

  • Class diagrams, which present an element’s internal structure and its relationships with other elements.

  • Composite structure diagrams, which show the internal structure of a class and the collaborations that this structure makes possible.

  • Component diagrams, which represent the implementation perspective of a system.

  • Deployment diagrams, which are used to represent the physical execution architecture of the system.

  • Object diagrams, which depict instances and their relationships at a given point in time.

  • Package diagrams, which show only packages and their dependencies, and which illustrate model element organization.

  • Activity diagrams, used to graphically model activity graphs showing a procedure or workflow.

  • Sequence diagrams, which show the modeling of sequential logic, illustrating how different objects cooperate.

  • Communication diagrams, which show how different nodes cooperate, focusing on internal structure architecture and message passing.

  • Interaction overview diagrams, which show orchestration logic using the usual activity diagram mechanisms.

  • Use case diagrams, which show use cases, actors and transitions to describe the most important services rendered by the system.

  • State diagrams, which describe the different states an object can be in, as well as the transitions between states.

  • BPMN diagrams, which support business process modeling through activity flows associated with flow control elements.

  • Composite structure diagrams, which depict the internal structure of a classifier, as well as the internal details of a collaboration.

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

The TOGAF diagram creation command

diag_creat_003.png (20.7 KB) admin admin, 12 June 2012 16:22

diag_creat_002.png (10.3 KB) admin admin, 12 June 2012 16:22

diag_creat_001.png (75.9 KB) admin admin, 12 June 2012 16:22

yes.png (618 Bytes) admin admin, 12 June 2012 16:22

no.png (707 Bytes) admin admin, 12 June 2012 16:22