g3-toolkit API Reference
    Preparing search index...

    Interface SimplePath

    One simple (loopless) path, as kShortestPaths lists them.

    interface SimplePath {
        edgeIds: string[];
        nodeIds: string[];
    }
    Index

    Properties

    Properties

    edgeIds: string[]

    Edge IDs along the path, one per hop.

    nodeIds: string[]

    Ordered node IDs from source to target.