Neo4j Visualization Library
    Preparing search index...

    Type Alias PanInteractionOptions

    Options for the pan interaction handler to customize its behavior.

    type PanInteractionOptions = {
        controlledPan?: boolean;
        excludeNodeMargin?: boolean;
    }
    Index
    controlledPan?: boolean

    If true, the interaction handler will not update the NVL instance directly. Instead, it will only call the onPan callback with the calculated values, allowing the parent application to control when and how to apply the pan update.

    false
    
    excludeNodeMargin?: boolean

    Whether to not pan when dragging within a certain margin of a node

    false