BezierConnectorOptions
Options for CubicBezierConnector
Extends
Properties
cssClass?
optionalcssClass:string
Optional class to set on the element used to render the connector.
Inherited from
AbstractBezierOptions.cssClass
gap?
optionalgap:number
Defines a number of pixels between the end of the connector and its anchor point. Defaults to zero.
Inherited from
hoverClass?
optionalhoverClass: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?
optionalloopbackDistance: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?
optionalscale: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?
optionalstub:number
Stub defines a number of pixels that the connector travels away from its element before the connector's actual path begins.