Options for the Bezier connector.

interface BezierOptions {
    cssClass?: string;
    curviness?: number;
    gap?: number;
    hoverClass?: string;
    showLoopback?: boolean;
    stub?: number;
}

Hierarchy (view full)

Properties

cssClass?: string

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

curviness?: number

A measure of how "curvy" the bezier is. In terms of maths what this translates to is how far from the curve the control points are positioned.

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.

showLoopback?: boolean

Whether or not to show connections whose source and target is the same element.

stub?: number

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