Defined in: packages/graph/src/graph.ts:72
Every edge of a graph as three parallel columns: edge i runs from
sources[i] to targets[i] with weight weights[i].
weights is present exactly when the graph is weighted. The same record is
accepted back as GraphOptions.edges, so converting between layouts never
builds a tuple.
Properties
Section titled “Properties”sources
Section titled “sources”
readonlysources:Int32Array
Defined in: packages/graph/src/graph.ts:73
targets
Section titled “targets”
readonlytargets:Int32Array
Defined in: packages/graph/src/graph.ts:74
weights
Section titled “weights”
readonlyweights:Float64Array<ArrayBufferLike> |undefined
Defined in: packages/graph/src/graph.ts:75