Diagrams other than statecharts and activity diagrams can
be grouped under the project or a package in the project hierarchy.
Procedure
To create a diagram other than a
statechart or activity diagram:
- Select the appropriate diagram type from or click the appropriate button on the Diagrams toolbar:
Table 1. List of diagram types and their buttons| |
Object Model Diagram |
|
Component Diagram |
| |
Structure Diagram |
|
Deployment Diagram |
| |
Use Case Diagram |
|
Collaboration Diagram |
| |
Sequence Diagram |
|
Panel Diagram |
- From the Open Diagram window,
select the project or a package where you would like to add the diagram.
- Click the New button.
The New Diagram window opens.
- Type a name for the new diagram in the Name field.
- Depending on the diagram type, the New
Diagram window can contain the following options:
- Populate Diagram,
which automatically populates the diagram with existing model elements.
This option applies to object model, use case, and structure diagrams.
For more information, see Automatically populating diagrams.
- Operation Mode specifies
whether to create an analysis sequence diagram, which enables
you to draw message sequences without adding classes and operations
to the model; or a design sequence diagram, in which every
message you create or rename is realized to an operation in the static
model. For more information, see Designing sequence diagrams.
- Click OK. A new (blank)
diagram is displayed in the drawing area.