Links crossing over each other

I’m trying to build a sankey diagram using the example on the GoJS web site as my starting point. I’ve used my own data for this diagram. The problem I’m encountering is that some of the links consistently crossover each other.

I’ve looked through the API documentation and forum for some hint as to how I might control that ordering but I don’t yet see anything that seems to address this directly.

Can anyone suggest an approach that might help resolve this?

I’m on GoJS 1.8.29



That’s odd. Are all three of those links connecting the same pair of nodes?

Yes. It seems to occur only when the TO node is a leaf in the graph.

It’s a holiday now, so I’m not sure when we’ll be able to investigate.

No worries. Thanks Walter. I’ll continue investigating.

I’m not sure what the problem is, but one cause is the setting of Link.adjusting to go.Link.End. Remove that setting and I think you won’t see the problem any more.

I expect that this will be fixed in the next releases, both 2.0.21 and 2.1.3.

Walter — thanks so much. That appears to resolve the crossover issue. Greatly appreciated!