Objects and relationships that can be drawn in a UML diagram are based on the elements available to the diagram. Objects and relationships can be added in different ways, by using:
- the Create pane
- the quick-create pop-up window
- the model browser
- the quick-create object controls
- the smart connector
- the context menu
For detailed information about the possible ways to add objects and relationships, please refer to Creating objects and relations.
Elements for modeling
The elements that are available for modeling in UML can be divided into elements and relationships. Elements include classes, interfaces, data types, packages, use cases, etc. Relationships include associations, dependencies, generalizations, element imports etc.
In addition to the elements that are specific for the modeling language or method, there are several graphic shapes that can be included in a diagram or view. These graphic shapes are generic and available in each modeling language and method in Enterprise Studio.
The objects and relationships in a diagram have controls that can be used to perform specific actions. These controls appear when you click an object or relation, and they appear on the border of the element but may also be on the element itself. In the example figure below the controls are highlighted.
Controls for a class element
When you move the mouse pointer over a control, it is usually highlighted. Click the control to perform the action. For an overview of the available controls, see Controls for UML objects.