Skip to main content

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

ParameterTypeDescription
edgeOrConnectionstring | Edge | Connection

Returns:

boolean