Modifying Connectors

Connectors can be modified several ways. The connectors can be connected or disconnected from objects, the connector line style can be changed, and the routing of the connectors can be changed.

Connecting and Disconnecting

A connector can be disconnected from an object by dragging an end point away from the object. To do so, first select the connector by clicking on it. Two handles should appear at each end. Drag one of the handles away. The handle will then be fixed to the background. To reconnect a handle (or to move a handle from one object to another), drag the handle to the connection handle that will appear at the center of the object when the cursor is above the object.

Line Style

All the normal line (path) styles can be applied to a connector, including adding arrows or using a dashed line. To change the line style, use the Fill and Stroke dialog (Object icon Fill and Stroke... ( Shift+Ctrl+F )).

[Tip]Cap Style

Changing the Cap style to Square Cap may improve the look of a connection to a stroked object.

Routing

Connectors are automatically rerouted when objects are changed or connectors are added or modified. There are a number of parameters that can be set to control the automatic routing of connectors. These are all accessible from the Connector Tool-Tool Controls:

  • icon : Clicking on this icon while an object is selected marks the object to permit connectors to cross the object when routed.

  • icon : Clicking on this icon while an object is selected marks the object to prohibit connectors to cross the object when routed.

  • icon : New in v0.48: This icon toggles on/off routing connectors with only horizontal and vertical lines. Clicking it when a connector is selected will toggle the connector to the other mode.

  • Curvature:  This parameter controls the amount of curvature between two straight sections of a connector.

  • Spacing:  This parameter controls the amount of spacing around an object that a connector will not pass through.

  • icon : Clicking on this icon will automatically rearrange connectors and connected objects in a nice arrangement. The placement is based on the Kamada-Kawai algorithm that treats the connectors as springs so that the distance between the connector handles are evenly spaced. Only selected objects and connectors will be changed (use Ctrl+A to select all objects and connectors). The following parameters/options control this layout. Your mileage may vary.

  • Length:  This parameter controls the ideal length of the connectors when automatically rearranging objects and connectors.

  • icon : This icon toggles on and off the option that connectors with end Markers (e.g. arrows) should point downwards.

  • icon : This icon toggles on and off the requirement that objects cannot overlap when moved.