Common options for connectors.

interface ConnectorOptions {
    cssClass?: string;
    gap?: number;
    hoverClass?: string;
    stub?: number;
}

Hierarchy (view full)

Properties

cssClass?: string

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

gap?: number

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

hoverClass?: string

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

stub?: number

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