Home > @jsplumbtoolkit/connector-editors > EdgePathEditor > clearEdits
EdgePathEditor.clearEdits() method
Clear the edits for the given connection, returning its path to the automatically computed path.
Signature:
clearEdits(edgeOrConnection: string | Edge | Connection): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| edgeOrConnection | string | Edge | Connection |
Returns:
boolean