EdgePathEditor
Editor for edge paths. Supports all connector types.
Methods
clearEdits()
clearEdits(
edgeOrConnection):boolean
Clear the edits for the given connection, returning its path to the automatically computed path.
Parameters
edgeOrConnection
string | Edge | Connection<BrowserElement>
Returns
boolean
destroy()
destroy():
void
Destroy the path editor - clears the internal map of editors and released held memory.
Returns
void
startEditing()
startEditing<
T>(edgeOrConnection,params?):void
Start editing the given edge or connection, optionally with the given edit parameters.
Type Parameters
T
T extends ConnectorEditorActivateParams<BrowserElement>
Parameters
edgeOrConnection
Edge | Connection<BrowserElement>
params?
T
Returns
void
stopEditing()
stopEditing():
void
Stop editing any connector paths.
Returns
void