LinkColorSpec
LinkColorSpec =
string| ((weight) =>string) | {by:"weight"|"flow";scale: (value) =>string; }
Defined in: network/glyphs.ts:177
Link colour. A single CSS colour; a (weight) => cssColour scale (a bare d3 sequential/linear colour
scale fits — scaleSqrt().range([light, dark]) interpolates RGBA, alpha included); or { by, scale }
for parity with LinkWidthSpec. Whichever form, it resolves to a function of a weight value,
so a super-edge colours by its accumulated subsumed weight (darker/heavier reads as more important).