Skip to main content
OrthogonalConnectorOptions
Options for an orthogonal connector.
NameTypeDescription
alwaysRespectStubs?booleanDefaults to true, meaning always draw a stub of the desired length, even when the source and target elements are very close together.
cornerRadius?numberOptional curvature of the corners in the connector. Defaults to 0.
cssClass?stringOptional class to set on the element used to render the connector.
gap?numberDefines a number of pixels between the end of the connector and its anchor point. Defaults to zero.
hoverClass?stringOptional class to set on the element used to render the connector when the mouse is hovering over the connector.
loopbackRadius?numberFor a loopback connection, the size of the loop.
midpoint?numberThe point to use as the halfway point between the source and target. Defaults to 0.5.
slightlyWonky?booleanIf true, and a cornerRadius is set, the lines are drawn in such a way that they look slightly hand drawn.
stub?numberStub defines a number of pixels that the connector travels away from its element before the connector's actual path begins.