Skip to main content

BezierConnectorOptions

Options for CubicBezierConnector

Extends

Properties

cssClass?

optional cssClass: string

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

Inherited from

AbstractBezierOptions.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

AbstractBezierOptions.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

AbstractBezierOptions.hoverClass


loopbackDistance?

optional loopbackDistance: number

When the connector's source and target is the same vertex, this is a measure of how far the control point will be placed from the element. Defaults to 62 pixels

Inherited from

AbstractBezierOptions.loopbackDistance


scale?

optional scale: number

Where to put the control point relative to the source/target. The number provided here should be a decimal, whose value defines the proportional distance between the source and target that the control point should be located at. The default value is 0.45. Larger values will make the Bezier curvier.


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

AbstractBezierOptions.stub