Neo4j Visualization Library
    Preparing search index...

    Type Alias PanInteractionCallbacks

    Callbacks for the pan interaction handler.

    type PanInteractionCallbacks = {
        onPan?:
            | ((panning: { x: number; y: number }, event: MouseEvent) => void)
            | boolean;
    }
    Index
    onPan?:
        | ((panning: { x: number; y: number }, event: MouseEvent) => void)
        | boolean

    Called when the canvas is panned.

    The panning coordinates.

    The original mouse event.