Creating all other diagram types

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:

  1. Select the appropriate diagram type from Tools > Diagrams or click the appropriate button on the Diagrams toolbar:
    Table 1. List of diagram types and their buttons
    Object model diagram button

    Object Model Diagram
    Component Diagram button

    Component Diagram
    Structure diagram button

    Structure Diagram
    Deployment diagram button

    Deployment Diagram
    Use case diagram button

    Use Case Diagram
    Collaboration diagram button

    Collaboration Diagram
    Sequence diagram button

    Sequence Diagram
    Panel diagram button

    Panel Diagram
  2. From the Open Diagram window, select the project or a package where you would like to add the diagram.
  3. Click the New button. The New Diagram window opens.
  4. Type a name for the new diagram in the Name field.
  5. Depending on the diagram type, the New Diagram window can contain the following options:
    1. 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.
    2. 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.
  6. Click OK. A new (blank) diagram is displayed in the drawing area.

Feedback