Skip to main content

Home > @jsplumb/common > ConnectorOptions

ConnectorOptions interface#

Common options for connectors.

Signature:

export interface ConnectorOptions extends Record<string, any> 

Extends: Record<string, any>

Properties#

PropertyTypeDescription
cssClass?string(Optional) Optional class to set on the element used to render the connector.
gap?number(Optional) Defines a number of pixels between the end of the connector and its anchor point. Defaults to zero.
hoverClass?string(Optional) Optional class to set on the element used to render the connector when the mouse is hovering over the connector.
stub?number | number[](Optional) Stub defines a number of pixels that the connector travels away from its element before the connector's actual path begins.