g3-toolkit API Reference
    Preparing search index...

    Interface AlgorithmResultDocument

    interface AlgorithmResultDocument {
        algorithm?: string;
        kind: "nodeProperties" | "edgeProperties" | "overlay";
        overlay?: {
            edgeIds?: string[];
            id: string;
            label?: string;
            nodeIds?: string[];
        };
        properties?: Record<string, Record<string, unknown>>;
        version: 1;
    }
    Index

    Properties

    algorithm?: string

    Provenance label, e.g. "networkx.pagerank", "graphblas.bfs".

    kind: "nodeProperties" | "edgeProperties" | "overlay"
    overlay?: { edgeIds?: string[]; id: string; label?: string; nodeIds?: string[] }

    For overlay kind: the structural result.

    properties?: Record<string, Record<string, unknown>>

    For property kinds: elementId -> properties to merge.

    version: 1