Neo4j Visualization Library
    Preparing search index...

    Interface HitTargetNode

    A node that has been hit by a pointer event

    interface HitTargetNode {
        data: Node;
        distance: number;
        distanceVector: Point;
        insideNode: boolean;
        pointerCoordinates: Point;
        targetCoordinates: Point;
    }
    Index
    data: Node

    The node that was hit

    distance: number

    The distance between the node and the pointer event

    distanceVector: Point

    The distance vector between the node and the pointer event

    insideNode: boolean

    Whether the pointer event is inside the node

    pointerCoordinates: Point

    The coordinates of the pointer event

    targetCoordinates: Point

    The coordinates of the node that was hit