Skip to main content

Home > @jsplumbtoolkit/browser-ui > 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.


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

References: Vertex, Edge