Automatically populating a diagram when you create it
You can use the Populate Diagram window to automatically add elements and their relations to an existing and already populated class, object model, use case, or structure diagram.
About this task
IBM® Engineering Systems Design Rhapsody® automatically lays out the elements in an orderly and comprehensible manner.
To open the Populate Diagram window, do any of the following actions:
- Right‑click a blank spot on the diagram in its drawing area and select Populate or choose .
- Right‑click the diagram in the model browser, and select Populate.
Note: Rhapsody does
not change the location of existing elements, it just adds the new elements.
Procedure
Results
Note: When auto-populating a diagram, if you want Rhapsody to
populate each class so it shows its attributes and operations, set the
ObjectModelGE::Class::ShowAttributes
and
ObjectModelGE::Class::ShowOperations
properties to All
in the
scope of the package or project.Note: During reverse engineering with the Populate Diagrams check box
selected, Rhapsody creates
object model diagrams visualizing the elements added during reverse engineering. If you run reverse
engineering later with the Merge existing package option, the product updates
the visualized diagrams to show the new elements added and the dependencies between the diagram
elements.
Note: The Populate feature does not support
the adding of ports, though existing ports on the diagram will be
preserved.