NodeAlign typedef
NodeAlign =
int Function(SankeyNode node, int n)
Signature for an alignment function, used to compute the horizontal
placement of a node. It takes a SankeyNode and the total number of columns
(or maximum depth) n
, returning the column index where the node should be placed
Implementation
typedef NodeAlign = int Function(SankeyNode node, int n);