Graphic editors Deleting diagrams In most cases, you can delete existing UML diagrams only from the Rational Rhapsody browser. However, you can delete statecharts and activity diagrams from both the browser and from the Tools menu. To delete an existing diagram: 1. Select the diagram from the browser. 2. Right-click and select Delete from Model , or press the Delete key. 3. Click Yes to confirm your action. Automatically populating a diagram When you create a new use case, object model, or structure diagram, you can use the Populate Diagram feature to populate the diagram automatically with existing model elements. You can select which model elements to add to the diagram.
Rational Rhapsody automatically lays out the elements in an orderly and easily comprehensible manner. Relation type styles Once the diagram has been created, you can edit it by adding or deleting elements to tailor it to your needs. This feature is particularly useful for quickly creating diagrams after reverse engineering or importing a model. When you automatically populate a new diagram, Rational Rhapsody offers a choice of layout style. You can select either of these styles for any relation type: Љ Hierarchical The elements are organized according to levels of inheritance, with lower levels inheriting from upper levels.
Each layer is organized to minimize the crossing and bending of inheritance arrows and is individually centered in the diagram. You can choose this style for any type of relation. If there are no classes or inheritance, the elements might appear organized as layers, depending on the direction of the populated diagrams. 412 User Guide