BuildGraphInput
Defined in: network/graph.ts:88
Properties
Section titled “Properties”directed?
Section titled “directed?”
optionaldirected?:boolean
Defined in: network/graph.ts:100
Defaults to false (undirected).
nodeCount
Section titled “nodeCount”nodeCount:
number
Defined in: network/graph.ts:89
nodeFlow?
Section titled “nodeFlow?”
optionalnodeFlow?:ArrayLike<number>
Defined in: network/graph.ts:98
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:90
target
Section titled “target”target:
ArrayLike<number>
Defined in: network/graph.ts:91
weight?
Section titled “weight?”
optionalweight?:ArrayLike<number>
Defined in: network/graph.ts:93
Optional per-edge weight; defaults to 1.