labelAlignRight = n =>
      nodeLabelAlignment === 'right' || n.depth <= layout.depthDomain[1] / 2
@explorer-desc
Sankey Visualization inspired from https://drarmstr.github.io/chartcollection/examples/#sankey/