UML Class Diagram Arrows overlap when we add new nodes to existing diagram

I think I figured out the issue. fromSpot and toSpot for node are set as go.Spot.AllSides so the links were overlapped.

Changing fromSpot to go.Spot.Top has fixed my issue