Tutorial

How to automatically create a UML diagram in Modelio

tutorials

Goal of this tutorial

Modelio 2.2 provides a new feature. It allows certain diagrams to be generated automatically. The goal of this tutorial is to show how to automatically create a UML diagram. For the purposes of this demo, we will create an inheritance diagram. In actual fact, it is a UML class diagram showing inheritance links.

Step-by-step tutorial

First of all, create or open a Modelio project containing inheritance links.

Step 1. Select a model element containing inheritance links.

fle_inheritance

In this example, we can see that the "Structure Diagram" class has one parent and two children. The "Links Editor" is useful to show the relationship between objects.

The object which interests us is "Structure Diagram". We want to create a diagram showing where the class is situated within its inheritance graph.

Step 2. Automatically create the inheritance diagram.

Select "Structure Diagram" from the "Model view". Right-click and select the "Create/Update automatic diagrams-Inheritance" command.

create_automatic_diagram

This is the result of this command:

result_diagram

Easy, isnt it?

More examples

nsIAuthInformation_prev

Class Structure diagram

sub_package_diagram_prev

Sub-Package diagram

dependencies_diagram_prev

Dependency diagram

package_prev

Package Structure diagram

Automatic diagrams documentation

Wiki page for the automatic diagrams

In this documentation, you will find which diagrams are proposed, for what applicable elements, as well as lots of other information about these diagrams.

^ Back to Top