Skip to main content
Version: 4.3

LinkRoutingOrthogonalOptions

Options for linkRoutingOrthogonal.

Extends​

  • BaseLinkOptions

Properties​

cornerRadius?​

readonly optional cornerRadius?: number;

Corner radius of the rounded bends, in px.

Default​

8

cornerType?​

readonly optional cornerType?: "line" | "point" | "cubic" | "gap";

Corner style at each bend.

Default​

'cubic'

margin?​

readonly optional margin?: number;

Distance, in px, the route keeps clear of elements as it steers around them.

Default​

20

markerSelector?​

readonly optional markerSelector?: string;

The attrs selector that holds the marker definitions.

Default​

'line'

minPathMargin?​

readonly optional minPathMargin?: number;

Smallest distance, in px, the router travels before it can turn.

Default​

margin / 4

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