A project has separate categories in the browser
for object model, sequence, use case, component, deployment, structure,
and collaboration diagrams. Additionally, all these diagrams (except
collaboration diagrams) can be grouped under a package.
Statecharts
and activity diagrams are displayed within the class they describe.
To add new statecharts and activity diagrams, select the class name
in the browser instead of the package.
Procedure
- Right-click the package in the browser.
- Select .
- Type the name of the new package in the
highlighted area in the browser.
- Right-click the new package and select the submenu.
- Select the type of diagram you would like
to add. The New Diagram window opens.
- Type a name for the new diagram in the Name field.
- If you want to populate the new diagram
automatically with existing model elements. Click the Populate
Diagram check box.
- Click OK. If you
selected Populate Diagram, another window displays to allowing
you to select which model elements to add to the diagram. IBM® Rational® Rhapsody® automatically
lays out the elements in an orderly and easily comprehensible manner.
- The new diagram displays in the drawing
area of the Rational Rhapsody window.