Hyperlinking Diagrams

From RAD Studio
Jump to: navigation, search

Go Up to Editing Diagrams

Select Hyperlinks from the diagram context menu to create, view, remove, and browse hyperlinks.

To create a hyperlink to an existing diagram or element

  1. In the Diagram View or Model View, locate the model element from which to create a hyperlink to another diagram or element.
  2. Right-click the model element from which to create a hyperlink and choose Hyperlinks > Edit on the context menu. The Edit hyperlinks for elements dialog box opens.
Tip: To select the entire diagram in the Diagram View, click the diagram background to deselect all elements.
Tip: In the Model View, do not select the actual namespace to create a hyperlink. Rather, expand the namespace node, and select the desired diagram.
  1. Select the Model Elements tab. The Project sub-tree contains all modeling elements available in your Project modeling project.
  2. In the tree, select the desired diagram or element, and click Add. The selected element is added into the Selected pane to the list of elements selected to be hyperlinked.
  3. To remove an element from the list of elements selected to be hyperlinked, select the element in the Selected pane and click Remove.
  4. Click OK to close the dialog box and create the hyperlink.
Result: The Modeling creates hyperlinks from the selected model element to the model elements placed into the list in the Selected pane.

To create a hyperlink to a new diagram

  1. In the Diagram View or Model View, right-click the model element from which to create a hyperlink to a new diagram and choose Hyperlinks > To New Diagram on the context menu. The Add New Diagram dialog box opens.
  2. In the Add New Diagram dialog box, select the diagram type, enter the diagram name, and click OK.
Result: The Modeling creates the new diagram of the selected type and hyperlinks it from the selected model element.

To create a hyperlink to an external URL or file

  1. In the Diagram View or Model View, right-click the model element from which to create a hyperlink to an external URL or file and choose Hyperlinks > Edit on the context menu. The Edit hyperlinks for elements dialog box opens.
  2. Select the External Documents tab to view the Recently used Documents pane, which contains a list of previously selected files or URLs.
  3. To add a file or URL to the Recently used Documents list:
    1. Click URL; the Choose URL dialog box opens.
    2. Click Browse; the Open dialog box opens.
      • Navigate to a file and click OK to add this file into the Recently used Documents and Selected panes.
      • Enter a URL and click OK to add the URL into the Recently used Documents and Selected panes.
    3. Click OK to close the dialog box and create the hyperlinks to the files and URLs added into the Selected pane.

To browse hyperlinks

  1. In the Diagram View or Model View, right-click the model element whose hyperlinks you want to browse.
    On a diagram, names of diagram elements that have hyperlinks are displayed in a blue font.
  2. The context menu shows names of all items (model elements, files, and URLs) hyperlinked from this model element.
  3. Point to an item name; the list of all diagrams containing this item opens.
  4. Select the diagram you want to open. The diagram opens in the Diagram View. The Diagram View scrolls the diagram to the hyperlinked element and selects it.

To remove a hyperlink

  1. In the Diagram View or Model View, locate the model element from which you want to remove a hyperlink.
  2. Right-click the model element and choose Hyperlinks > Edit on the context menu. The Edit hyperlinks for elements dialog box opens.
  3. In the Selected pane, click the name of an item to remove a hyperlink that points to the item.
  4. Click Remove.
  5. Click OK to close the dialog box.
Result: The Modeling deletes the hyperlink from the selected model element to the item removed from the Selected pane.

See Also