Graphora API
    Preparing search index...

    Interface GraphInputHost

    Structural bridge: the input package does not depend on the engine.

    interface GraphInputHost {
        store: { updateNodePosition(id: GraphId, position: Point): unknown };
        getInteractionState(): InteractionRenderState;
        getViewport(): ViewportState;
        setInteractionState(state: InteractionRenderState): unknown;
        setViewport(viewport: ViewportState): unknown;
    }
    Index
    store: { updateNodePosition(id: GraphId, position: Point): unknown }