In the Containment Tree, select the Operational Structure and do one of the following:
From the selected package's shortcut menu, select Create Diagram > Operational Structure.
In the modeling tool's main menu, click Create Diagram, search for Operational Structureand select it.
Name a diagram or leave it with the default name.
Creating an element
When the diagram is created, you can start creating the appropriate elements. An example is described using Operational Performer element, but the same is valid for other structural elements.
To create an Operational Performer in a diagram
In the diagram palette, click the Operational Performer and then click the appropriate place on the diagram pane.
To create an Operational Performer in a Containment tree
In the Containment tree, right click the Operational Structure package and from the shortcut menu, select Create Element. Search for the Operational Performer and select it.
Name the element.
Drag the created element from the Containment tree to the diagram pane.
Once the Composition relationships is created, in the Containment tree, you can see the Composite element and note the Operational Roles (Part Properties) displayed within the namespace of the Composite element and how the element type and multiplicity is shown.
To connect the elements with the Aggregation relationship
Select an element, which will be the Composition End.
In the diagram palette, click the black arrow near the Association and choose Aggregation.
Click the element which is the Aggregation End and draw the relationship to the Reference End.
Changing the role name and specifying multiplicity
To change the role name
Right-click the selected Role end of the relationship.
From the shortcut menu, select Edit Name. The default name will be displayed.
You can edit the default name on the diagram, in the Containment tree, or in the role's Specification window.
If you already have created a structure in the Containment tree, you can display it on the diagram. There are three ways to display the structure:
Relationship (direct) Notation. If you choose using this notation, the structure will be displayed on a diagram pane with the elements connected with relationships.
Attribute Compartment Notation. If you choose using this notations, the structure will be displayed as the attributes in the Attributes compartment.
Structure (Nested elements) Notation. If you choose using this notations, the structure will be displayed in the Structure compartment.
To display a created structure on a diagram (Relationship Notation)
Drag the selected element with the part properties on to the diagram.
Right-click that element, and from its shortcut menu, select Display > Display Related Elements.
When connecting the elements with Composition/Aggregation relationships, the roles are Association Ends. In such case, the roles will not be displayed in the Attributes compartment, only in the Structure compartment.