VChart
VChart copied to clipboard
[Feature] Add node arrangement information to the nodeHeight callback parameters.
What problem does this feature solve?
在计算 nodeHeight 时,需要知道当前列有几个节点。
当前配置:
相关代码:
What does the proposed API look like?
nodeHeight?: number | ((node: SankeyNodeElement, nodes: SankeyNodeElement[][]) => number);