Skip to main content

Home > @jsplumbtoolkit/core > BeforeMoveConnectionInterceptor

BeforeMoveConnectionInterceptor type

A function to run before an edge of the given type is relocated from its current source or target to a new source or target. Returning false from this method will abort the move.

Signature:

export declare type BeforeMoveConnectionInterceptor = (source: Vertex, target: Vertex, edge: Edge) => any;

References: Vertex, Edge