CSR
Defined in: network/graph.ts:10
Compressed-sparse-row adjacency.
Properties
Section titled “Properties”degree
Section titled “degree”degree:
Uint32Array
Defined in: network/graph.ts:16
Per-node neighbor count; length nodeCount.
neighbors
Section titled “neighbors”neighbors:
Uint32Array
Defined in: network/graph.ts:14
Flattened neighbor ids; node i’s neighbors are neighbors[offsets[i]..offsets[i+1]].
offsets
Section titled “offsets”offsets:
Uint32Array
Defined in: network/graph.ts:12
Per-node start offset into neighbors; length nodeCount + 1.