I have a layered digraph layout in an existing app and now trying to add the ability to show multiple links between the same pair of nodes. It currently just draws the links on top of one another, and I can’t seem to convince it to do otherwise. In this diagram, I have two links drawn between nodes three and five, but they now overlap. I’d like them drawn so that the labels don’t overlap. How can I do this? I see that if I remove the LayeredDigraphLayout, these links get drawn non-overlapping, but layered digraph is the layout I really want.
Here’s a fiddle with this example: https://jsfiddle.net/cfarmerga/a7Lv5uj3/4/