overrides for anchor and connection-point offsets
Options for linkRoutingSmooth.
Optional ReadonlymarkerSelector?: stringThe attrs selector that holds the marker definitions.
Optional Readonlymode?: LinkModeWhich side of an element or port each link end attaches to; see LinkMode for how each value behaves.
Optional ReadonlysourceOffset?: numberOffset (in px) applied to the connection point at the source end.
Optional ReadonlystraightWhenDisconnected?: booleanFall back to a straight line while either end is still unconnected (e.g. mid-drag).
Optional ReadonlytargetOffset?: numberOffset (in px) applied to the connection point at the target end.
Paper link defaults for smooth routing
Smooth routing: links are drawn as soft bezier curves instead of straight or right-angle segments, for a more organic look.
Returns a
LinkRoutingbundle for the PaperlinkRoutingprop.