Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Connector Styles

Connectors come in six different routing styles:

Style

Description

Direct

A straight line from element A to element B. You can move the line (back and forward, up and down) to a limited degree.

Auto Routing

A vertical and horizontal route from A to B with 90-degree bends. You can move the line to improve the route, but the location and number of bends are not configurable.

Bezier

A smooth curved line from A to B. Bezier style is directly available for Data Flow diagram connectors, Mind Mapping connectors, State Flows, State Transitions, Object Flows, and Control Flows.

Note:

You can convert other types of relationship to Bezier style by assigning the Tagged Value _Bezier, with an integer value other than 0. However, some relationship types (such as Aggregate) do not accommodate this style very well.

This Tagged Value over-rides the value of the Style field in the connector Properties dialog.

Custom Line

The most flexible option. You can add one or more line points and bend and push the line into virtually any shape, using the Toggle Line Point at Cursor option.

Tree Style - Vertical

Tree Style - Horizontal

A line from element A to B with two right-angle bends, and the end points fixed to selected locations on the elements (Vertical or Horizontal).

Note:

You can convert relationships to Tree style by assigning the Tagged Value _TreeStyle, with a value of H (Horizontal) or V (Vertical).

This Tagged Value over-rides the value of the Style field in the connector Properties dialog.

Lateral - Vertical

Lateral - Horizontal

A line from element A to B with a single right-angle bend, and the end points fixed to selected locations on the elements (Vertical or Horizontal).

Note:

You can convert relationships to Lateral style by assigning the Tagged Value _TreeStyle, with a value of LH (lateral-horizontal) or LV (lateral vertical).

This Tagged Value over-rides the value of the Style field in the connector Properties dialog.

Set the Connector Style

To set the connector style, follow the steps below:

  1. Right-click on the connector to change; the context menu displays.
  2. Select the Line Style option.
  3. From the submenu, select the required style - Direct, Auto Routing, Custom, Tree or Lateral (or Bezier, where appropriate).

Alternatively:

  1. Select the connector to change.
  2. Press the following keys to change the style:
  • [Ctrl]+[Shift]+[D] for Direct
  • [Ctrl]+[Shift]+[A] for Auto Routing
  • [Ctrl]+[Shift]+[C] for Custom
  • ([Ctrl]+[Shift]+[Z] for Bezier, where appropriate).

Bend Connectors

To bend a connector to quickly and easily route connectors in the required layout, follow the steps below:

  1. Right-click on the connector; the context menu displays.
  2. Set the line style to Custom Line ([Ctrl]+[Shift]+[C]); this enables the Bend Line at Cursor option in the context menu.
  3. Click on the Bend Line at Cursor option to add a line point.

Note:

Right-clicking a line point displays the Straighten Line at Cursor context menu option, which you can use to remove the line point.

  1. Using the mouse, drag the line point to the required position.

Alternatively:

  1. Hold down [Ctrl] or [Shift] and click on a point on the connector to create a line point.

Note:

[Ctrl]+click also removes a line point.

  1. Using the mouse, drag the line point to the required position.

LinePoints

Tidy Line Angles

To tidy line angles (custom connector), follow the steps below:

  1. Right-click on the connector; the context menu displays.
  2. Click on the Tidy Line Angles menu option; this nudges the custom line in horizontal and vertical increments, saving you the time of trying to get a good layout manually.

Note:

You can set the Tidy Line Angles option to operate by default; click on the Tools | Options menu option to display the Options dialog, and select the Diagram Behavior page.

TidyLineAngles

Suppress Line Segments

To suppress individual line segments, follow the steps below:

  1. Right-click on the connector; the context menu displays.
  2. Set the line style to Custom Line ([Ctrl]+[Shift]+[C]), this enables the Suppress Line Segment option in the context menu.
  3. Click on the Suppress Line Segment option to suppress a line between two bend points.

Note:

The segment you right-clicked on is suppressed.

  1. To show the segment again, right-click on the line and click on the Show All Line Segments context menu option.

One application for this is to represent the continuation of flow when your diagram crosses the page boundary marker in the Diagram View. When you suppress the line segment that crosses the boundary, the link name (connector properties) displays at both ends of the hidden segment. When you print the diagram on multiple pages, the link name identifies the connection apparently broken by the page boundary.