Home > @jsplumbtoolkit/core > JsPlumbToolkit > removeEdge
JsPlumbToolkit.removeEdge() method
Removes an Edge from the Graph.
Signature:
removeEdge(edge: string | Edge, source?: any): this;
Parameters
| Parameter | Type | Description |
|---|---|---|
| edge | string | Edge | The Edge to remove, as either an Edge object or its id. |
| source | any | The source for the removeEdge operation. For internal use. |
Returns:
this
The current Toolkit instance.