BuildGraphInput
Defined in: network/graph.ts:164
Properties
Section titled “Properties”directed?
Section titled “directed?”
optionaldirected?:boolean
Defined in: network/graph.ts:176
Defaults to false (undirected).
nodeCount
Section titled “nodeCount”nodeCount:
number
Defined in: network/graph.ts:165
nodeFlow?
Section titled “nodeFlow?”
optionalnodeFlow?:ArrayLike<number>
Defined in: network/graph.ts:174
Optional per-node flow (length must equal nodeCount) — a model quantity (e.g. Infomap visit
rates) the app computes. Exposed as NetworkGraph.flow and usable for nodeRadius sizing.
source
Section titled “source”source:
ArrayLike<number>
Defined in: network/graph.ts:166
target
Section titled “target”target:
ArrayLike<number>
Defined in: network/graph.ts:167
weight?
Section titled “weight?”
optionalweight?:ArrayLike<number>
Defined in: network/graph.ts:169
Optional per-edge weight; defaults to 1.