moduleColors
moduleColors(
nodes,opts?):string[]
Defined in: network/module-colors.ts:36
Per-node CSS colours (indexed by node id) for a module hierarchy. A node takes the hue of its
enclosing module (path minus the final rank), so all nodes in a module share a colour and
sibling modules get neighbouring hues within their parent’s arc.
Parameters
Section titled “Parameters”ArrayLike<ModulePathNode>
ModuleColorOptions = {}
Returns
Section titled “Returns”string[]