Originally StatSankeyText and StatSankeyFlow group their data differently while StatSankeyText also takes into account next_x. This leads to multiple labels for a node if there are different flows going to different nodes that are not direct neighbors (e.g. skipping one stage with a flow). The whole layout is cluttered by those additional labels as they also shift the correct ones.
Originally
StatSankeyText
andStatSankeyFlow
group their data differently whileStatSankeyText
also takes into accountnext_x
. This leads to multiple labels for a node if there are different flows going to different nodes that are not direct neighbors (e.g. skipping one stage with a flow). The whole layout is cluttered by those additional labels as they also shift the correct ones.