OptionalanchorSpec for the anchor to use for both source and target endpoints.
OptionalanchorsIndividual anchor specs for the source/target endpoints.
OptionalconnectorSpec for the connector used to paint the connection.
OptionalcostCost of the connection. Defaults to 1.
OptionaldeleteWhether or not to delete the connection's endpoints when this connection is detached. Defaults to false. Does not delete endpoints if they have other connections.
OptionaldeleteWhether or not to delete any endpoints that were created by this connect call if at some point in the future the endpoint has no remaining connections. Defaults to false.
OptionaldetachableWhether or not the connection is detachable. Defaults to true.
OptionaldirectedWhether or not the connection is considered to be 'directed'
OptionalendpointSpec for the endpoint to use for both source and target endpoints.
OptionalendpointSpec for the styles to use on both source and target endpoints when they are in hover state
OptionalendpointIndividual specs for the source/target endpoint styles when they are in hover state.
OptionalendpointsIndividual endpoint specs for the source/target endpoints.
OptionalendpointSpec for the styles to use on both source and target endpoints
OptionalendpointIndividual specs for the source/target endpoint styles.
OptionalhoverPaint style for the connector when in hover mode.
OptionallabelOptional label to set on the connection. In the default browser UI implementation this is rendered as a label attribute on the SVG element representing the connection.
OptionaloverlaysOptional list of overlays to attach to the connection.
OptionalpaintPaint style for the connector.
OptionalparametersOptional extra parameters to associate with the connection
OptionalportsOptional port IDs for the source and target endpoints
OptionalreattachWhether or not to reattach this connection automatically should it be detached via user intervention. Defaults to false.
OptionalsourceSource for the connection - an Endpoint, or an element
OptionaltargetSource for the connection - an Endpoint, or an element
OptionaltypeType of the connection. Used in conjunction with the registerConnectionType method.
Options for the
connectcall on a JsPlumbInstance