Prev Next

Add New Diagrams

Enterprise Architect provides a number of ways in which to create a new UML diagram, Extended diagram or MDG Technology diagram in your model. The principal method is to select the Package or element under which to create the diagram and select a menu option to add it, as explained here.

Add a new diagram to the model

Step

Action

See also

1

In the Project Browser, click on the Package or element under which to place the diagram.

2

Either:

  • In the Project Browser header bar, click on the Add diagram. button, or
  • Right-click on the object to open the context menu and select the 'Add Diagram' (Package) or 'Add | Add Diagram' (element) option, or
  • Press the Insert key and select the 'Add Diagram' menu option

The 'New Diagram' dialog displays.

3

The 'Package' field defaults to the name of the Package selected in the Project Browser or, if the parent is an element, the name of the Package containing that element.

If you are adding a diagram directly to a Package and notice that it is not the correct Package, click on the Browse package button and browse for the correct Package.

(The Browse package button is disabled when you are creating a diagram under an element, and the 'Parent' field shows the name of the element under which you are creating the diagram.)

4

The 'Diagram' field defaults to the name of the selected Package or element; if necessary, type a different name for the new diagram.

5

Click on the 'Select From' header and select the Perspective Group and Perspective or Workspace most appropriate to the area you are working in.

The panel underneath the header displays a list of diagram groups; click on the required group.

UML Diagrams

6

In the 'Diagram Types' panel, click on the type of diagram to create.

A description of the selected diagram type displays in the field underneath this pane.

7

Click on the OK button to create your new diagram.

Enterprise Architect checks whether there is a template diagram for this diagram type in the Templates Package and, if so, applies the display characteristics defined in that template.

Set Element Templates Package

Notes

  • In the Corporate, Unified and Ultimate editions of Enterprise Architect, if security is enabled you must have 'Manage Diagrams' permission to create new diagrams
  • The diagram type determines the default Toolbox associated with the diagram and whether it can be moved as a child of another element in the Project Browser (for example, a Sequence diagram under a Use Case)

Learn more