Opening and Closing Diagrams

From RAD Studio

Go Up to UML Diagram Procedures

You can open a UML diagram to show it in a separate tab in the Diagram View and close a tab showing a diagram (close the diagram).

To open a diagram

The model tree in the Model View contains nodes corresponding to UML diagrams registered in the modeling project. You can open these diagrams in the Diagram View.

  1. Open your modeling project in the Model View.
  2. In the model tree, locate the model element (node) corresponding to the diagram you want to open. Open the diagram in the Diagram View:
    • Double-click the desired diagram-type node.
    • Right-click the desired diagram-type node and click Open Diagram on the context menu.
The corresponding diagram opens in the Diagram View.
The diagram-type model elements (nodes) are:

To open a diagram containing a node element

The model tree in the Model View contains nodes corresponding to internal elements contained in UML diagrams registered in the modeling project. You can open, in the Diagram View, diagrams containing these elements.

  1. Open your modeling project in the Model View.
  2. In the model tree, locate an internal diagram element (node) that you want to see on a diagram.
  3. Right-click the located element and go to the Select on Diagram context menu item.
    • If this element is contained in the single UML diagram, then click Select on Diagram.
      The UML diagram containing the selected element opens in the Diagram View.
    • If this element is contained in several UML diagrams, then the list of the diagrams containing this element opens. Click the desired diagram name.
      The specified diagram containing the selected element opens in the Diagram View.

To close a diagram

In the Diagram View, you can close the tab showing the diagram that you do not need to edit anymore.

  1. In the Diagram View, click the tab of the pane showing the diagram you want to close. The pane gets the focus.
  2. Click the cross icon on the tab control of the Diagram View to close the current view.
Note: Closing a diagram in the Diagram View does not remove it from your project.

See Also