prorm API Reference
    Preparing search index...

    Interface TraversalResult<V, E>

    One visited path from traverse(): the vertex reached, the edge taken to reach it (null at depth 0), and the full path.

    interface TraversalResult<
        V = Record<string, unknown>,
        E = Record<string, unknown>,
    > {
        vertex: V;
        edge: E | null;
        path: { vertices: V[]; edges: E[] };
    }

    Type Parameters

    • V = Record<string, unknown>
    • E = Record<string, unknown>
    Index
    vertex: V
    edge: E | null
    path: { vertices: V[]; edges: E[] }