Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > removeEdge

JsPlumbToolkit.removeEdge() method

Removes an Edge from the Graph.

Signature:

removeEdge(edge: string | Edge, source?: any): this;

Parameters

ParameterTypeDescription
edgestring | EdgeThe Edge to remove, as either an Edge object or its id.
sourceanyThe source for the removeEdge operation. For internal use.

Returns:

this

The current Toolkit instance.