Graphora API
    Preparing search index...

    Type Alias GraphViewState<NodeData, EdgeData>

    GraphViewState:
        | { snapshot: GraphViewSnapshot<NodeData, EdgeData>; status: "current" }
        | {
            attemptedSourceVersion: number;
            error: unknown;
            lastCommittedSnapshot: GraphViewSnapshot<NodeData, EdgeData>;
            status: "stale";
        }

    Type Parameters

    • NodeData = unknown
    • EdgeData = unknown