Skip to content

NodeMetric

NodeMetric = "degree" | "strength" | "flow" | ((index, graph) => number)

Defined in: network/glyphs.ts:18

A built-in per-node metric d3gl can read directly, or a custom (index, graph) => value accessor. "degree" is the neighbour count (CSR.degree); "strength" the weighted degree (NetworkGraph.strength); "flow" the app-provided NetworkGraph.flow (errors if absent).