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” button in the tool bar or use the one of the selected elements contextual menu.
  3. Select a type of diagram.
  4. Enter a name for the new diagram or leave the default name.
  5. If the diagram owner is different from the selected model element.
  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 greyed and can be masked by checking the “Show only applicable diagrams” tickbox.

The diagram owner

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

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

  1. Click in the “Owner” 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 an owner.

Choosing the diagram’s owner 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, 05 September 2012 11:04

yes.png (618 Bytes) admin admin, 05 September 2012 11:04

no.png (707 Bytes) admin admin, 05 September 2012 11:04

diag_creat_001.png (75.9 KB) Christophe Demeulemeester, 19 September 2012 15:25

diag_creat_002.png (10.2 KB) Christophe Demeulemeester, 19 September 2012 15:25