Editor for edge paths. Currently support Bezier, StateMachine and Orthogonal connectors.

Methods

  • Clear the edits for the given connection, returning its path to the automatically computed path.

    Parameters

    • edgeOrConnection: string | Edge | Connection<Element>

    Returns boolean

  • Destroy the path editor - clears the internal map of editors and released held memory.

    Returns void

  • Start editing the given edge or connection, optionally with the given edit parameters.

    Type Parameters

    Parameters

    • edgeOrConnection: Edge | Connection<Element>
    • Optional params: T

    Returns void

  • Stop editing any connector paths.

    Returns void