LinkWidthSpec
LinkWidthSpec =
number| ((weight) =>number) | {by:"weight"|"flow";scale: (value) =>number; }
Defined in: network/glyphs.ts:152
Link width. A constant, a (weight) => width scale of the edge weight (a bare d3 scale fits — its
input is the edge’s weight, which is the per-edge flow), or { by, scale } for parity with
NodeRadiusSpec (by is "weight"/"flow" — the same per-edge quantity — so the scale maps
the weight). Whichever form, it resolves to a function of a weight value, so a super-edge
applies the same scale to the accumulated weight of the edges it subsumes.