Showing all relations for a class, object, or package in a diagram

To show a class and its relations to all the other elements in a project, create an object model diagram in IBM® Rational® Rhapsody®.

About this task

You can show the relations for a class, an object, and a package. You would use the same procedure as noted, except that you would select that particular element (for example, an object) instead.

To show all the relations of a class:

Procedure

  1. Right‑click a class in the product browser and select Show Relations in New Diagram.
  2. Notice the following information:
    • Rational Rhapsody created an object model diagram that shows all the relations for the selected class.
    • Rational Rhapsody also named the new object model diagram from the name of the class you selected and it created an Object Model Diagram category to hold the new diagram within the package where the class resides.
      Browser and object model diagram

Results

Note the following information:


Feedback