Skip to main content

OrthogonalConnectorOptions

Options for an orthogonal connector.

Extends

Properties

alwaysRespectStubs?

optional alwaysRespectStubs: boolean

Defaults to true, meaning always draw a stub of the desired length, even when the source and target elements are very close together.


cornerRadius?

optional cornerRadius: number

Optional curvature of the corners in the connector. Defaults to 0.


cssClass?

optional cssClass: string

Optional class to set on the element used to render the connector.

Inherited from

ConnectorOptions.cssClass


gap?

optional gap: number

Defines a number of pixels between the end of the connector and its anchor point. Defaults to zero.

Inherited from

ConnectorOptions.gap


hoverClass?

optional hoverClass: string

Optional class to set on the element used to render the connector when the mouse is hovering over the connector.

Inherited from

ConnectorOptions.hoverClass


loopbackRadius?

optional loopbackRadius: number

For a loopback connection, the size of the loop.


midpoint?

optional midpoint: number

The point to use as the halfway point between the source and target. Defaults to 0.5.


slightlyWonky?

optional slightlyWonky: boolean

If true, and a cornerRadius is set, the lines are drawn in such a way that they look slightly hand drawn.


stub?

optional stub: number

Stub defines a number of pixels that the connector travels away from its element before the connector's actual path begins.

Inherited from

ConnectorOptions.stub