Foldkit Zloz API
    Preparing search index...

    Type Alias Gesture

    Gesture:
        | Readonly<{ type: "idle" }>
        | Readonly<
            {
                type: "port-anchor-drag";
                pointer: number;
                origin: Point;
                before: ZlozGraph;
                endpoint: Endpoint;
                snappedSide?: PortSide
                | null;
                snappedCorner?: PortCorner | null;
                snappedMidpoint?: PortSide | null;
                point?: Point;
                snapBypassed?: boolean;
                snapBypassModifier?: ZlozPortAnchorSnapBypassModifier | null;
                snapSettings?: PortAnchorSnapSettings;
            },
        >
        | NodeGesture & Readonly<
            {
                type: "node-drag";
                dropParent: string
                | null
                | undefined;
                guides: readonly AlignmentGuide[];
            },
        >
        | NodeGesture & Readonly<
            {
                type: "node-resize";
                corner?: ResizeCorner;
                handle?: ResizeHandle;
                guides?: readonly AlignmentGuide[];
            },
        >
        | Readonly<
            {
                type: "connection-drag";
                pointer: number;
                point: Point;
                reconnect?: Readonly<{ id: string; end: EdgeEnd }>;
            },
        > & ConnectionTarget
        | Readonly<
            { type: "box-selection"; pointer: number; origin: Point; point: Point },
        >
        | Readonly<
            { type: "zoom-area"; pointer: number; origin: Point; point: Point },
        >
        | Readonly<
            { type: "pinch"; center: Point; distance: number; before: Viewport },
        >
        | Readonly<
            { type: "pan"; pointer: number; origin: Point; before: Viewport },
        >