Lines overlapping issue


#1

Hi,

I have created a diagram in GO JS and set
fromSpot : go.Spot.RightSide, // coming out from Right side
toSpot : go.Spot.LeftSide

but still lines are overlapping.

Is there any other configuration we can set?


#2

A small screenshot would help explain your circumstances.

Meanwhile I’ll guess by asking: what does your app use as the value of Diagram.layout?


#3


#4

If you make the links reshapable, the user could shift some link segments so that they do not overlap.

I suppose you could set Link.corner to a value such as 4 to help show which way links turn at corners.

You could implement highlighting as the mouse passes over a link. Some of the samples demonstrate this – look for mouseEnter and mouseLeave. Also: https://gojs.net/latest/intro/highlighting.html#HighlightingNodeUponMouseOver, but for links.