Type Alias NodeWeight<NodeDatum, LinkDatum>

NodeWeight: number | CallableNodeWeight<NodeDatum, LinkDatum>

an accessor to get the optimization of the weight for a node

Currently this is only used to set the CoordQuad#nodeCurve.

Type Parameters

  • NodeDatum = never
  • LinkDatum = never