graph-toolkit
    Preparing search index...

    Interface Csr

    Compressed sparse row adjacency over dense vertex indices 0..n-1. Arcs of vertex v live in [offsets[v], offsets[v + 1]). Treat as read-only.

    interface Csr {
        arcEdges?: Uint32Array<ArrayBufferLike>;
        offsets: Uint32Array;
        targets: Uint32Array;
        weights: Float64Array;
    }
    Index
    arcEdges?: Uint32Array<ArrayBufferLike>

    Insertion ordinal of the edge behind each arc; only kept for graphs with edge attributes.

    offsets: Uint32Array
    targets: Uint32Array
    weights: Float64Array