Creating Links

From RAD Studio
Jump to: navigation, search

Go Up to Creating Elements, Links, and Shortcuts on Diagrams

In an implementation project, you can create a link to another node or a shortcut to an element in the same project.

In a design project, you can create a link to another node or a shortcut to an element in the same or another design project (these projects must be of the same UML version).

To create a link between two nodes

  1. On the diagram's Tool Palette, click the button for the type of link you want to draw in the diagram. The button stays down.
  2. Click the source element.
  3. Drag to the destination element and drop when the destination element is highlighted.

The link of the selected type appears between the source and destination elements.

To create an output link using the DV OutputLinkIcon.png pop-up tool icon

  1. In the Diagram View, move the mouse pointer over that side of the node from which you want to start a link; the DV OutputLinkIcon.png pop-up tool icon appears close to this side of the node.
  2. Click the DV OutputLinkIcon.png icon and drag to the destination element. Drop the mouse when the destination element becomes highlighted (the rectangular border appears around it). The menu with the list of possible types of links opens. Select the desired link type.

The link (of the selected type) starting from the selected element and pointing to the destination element appears on the diagram.

To create an input link using the DV InputLinkIcon.png pop-up tool icon

  1. In the Diagram View, move the mouse pointer over that side of the node from which you want to start a link; the DV InputLinkIcon.png pop-up tool icon appears close to this side of the node.
  2. Click the DV InputLinkIcon.png icon and drag to the destination element. Drop the mouse when the destination element becomes highlighted (the rectangular border appears around it). The menu with the list of possible types of links opens. Select the desired link type.

The link (of the selected type) starting from the destination element and pointing to the selected element appears on the diagram.

To create a link and element using the DV OutputLinkIcon.png or DV InputLinkIcon.png pop-up tool icon

  1. In the Diagram View, move the mouse pointer over that side of the node from which you want to draw a link; the DV OutputLinkIcon.png and DV InputLinkIcon.png pop-up tool icons appear close to this side of the node.
  2. Click the DV OutputLinkIcon.png or DV InputLinkIcon.png icon, drag to the destination position and drop the mouse. The menu containing the list of possible types of elements to be created opens.
  3. Select the desired element type.

The element of the selected type is created and the link between the source and destination elements appears on the diagram.

To create bending points on a link

If your diagram is densely populated, you can draw bent links (having several bending points) between the source and target elements to avoid other elements that are in the way.

  1. Position the mouse pointer on a link over a point that you want to make a bending point. Then press down and hold the mouse button while moving the mouse. The link line, initially positioned between the end and start points, becomes separated onto two sub-lines: the first sub-line—between the start point and the selected point and the second sub-line—between the selected point and the end point. As you moves the selected point, the sub-lines move accordingly.
  2. Release the mouse button. The selected point becomes the bending point.
You can create as much bending points as you need on a link.

See Also