Home > @jsplumbtoolkit/browser-ui > ConnectionTypeDescriptor
ConnectionTypeDescriptor interface
Definition of a connection type.
Signature:
export interface ConnectionTypeDescriptor extends TypeDescriptor
Extends: TypeDescriptor
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
detachable? | boolean | (Optional) Whether or not connections of this type should be detachable with the mouse. Defaults to true. | |
endpoints? | [EndpointSpec, EndpointSpec] | (Optional) Specs for the [source, target] endpoints for connections of this type. | |
reattach? | boolean | (Optional) Whether or not when a user detaches a connection of this type it should be automatically reattached. Defaults to false. |