Creating modeling diagrams in model elements

You can provide more detail about a model element, such as a package, component, or state machine, by creating a diagram in it. You can create several diagrams of different types in a single model element.

The types of diagrams that you can create in a model element depend on the type of model element that you select. For example, you can add only class, collaboration, and sequence diagrams to a collaboration; however, you can add all diagram types to a package.
To create a diagram in a model element, in the diagram editor, right-click a model element; then click Add Diagram and click a diagram type.
The diagram is added under the corresponding model element in the Model Explorer view, and a blank diagram opens in the diagram editor.
Tip: You can also create a diagram in a model element in the Model Explorer view.

Parent topic: Creating modeling diagrams

Related concepts
Types of modeling diagrams

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.