g3-toolkit API Reference
    Preparing search index...

    Interface NeighborhoodPopoutProps

    interface NeighborhoodPopoutProps {
        className?: string;
        corner?: "bottom-left" | "bottom-right";
        defaultHops?: number;
        focusId: string;
        focusLabel?: string;
        maxHops?: number;
        onClose: () => void;
        positioning?: "fixed" | "absolute";
        ugm: UGM;
    }
    Index

    Properties

    className?: string
    corner?: "bottom-left" | "bottom-right"

    Corner the popout docks to (default bottom-left).

    defaultHops?: number
    focusId: string
    focusLabel?: string

    Display label for the focus (defaults to the id).

    maxHops?: number
    onClose: () => void
    positioning?: "fixed" | "absolute"

    9.20: "absolute" anchors the popout inside a positioned ancestor (the graph view), instead of the viewport, so it sits over the canvas corner rather than whatever chrome happens to occupy the viewport corner. Default stays "fixed" for existing consumers.

    ugm: UGM

    The full graph the neighborhood is cut from.