Skip to main content
Version: 4.3

LinkRoutingSmoothOptions

Options for linkRoutingSmooth.

Extends​

  • BaseLinkOptions

Properties​

markerSelector?​

readonly optional markerSelector?: string;

The attrs selector that holds the marker definitions.

Default​

'line'

mode?​

readonly optional mode?: LinkMode;

Which side of an element or port each link end attaches to; see LinkMode for how each value behaves.

Default​

'auto'

sourceOffset?​

readonly optional sourceOffset?: number;

Offset (in px) applied to the connection point at the source end.

Default​

0

straightWhenDisconnected?​

readonly optional straightWhenDisconnected?: boolean;

Fall back to a straight line while either end is still unconnected (e.g. mid-drag).

Default​

true

targetOffset?​

readonly optional targetOffset?: number;

Offset (in px) applied to the connection point at the target end.

Default​

0