consider the following diagram
when i create link to other node it works fine but when i self link a node it over laps the link from other node
consider the following diagram
when i create link to other node it works fine but when i self link a node it over laps the link from other node
The routing of reflexive (“self”) links is independent of the routing of links connecting at a “…Side” spot.
But you can ameliorate the routing if you set the Link.fromSpot and Link.toSpot only for those reflexive Links. Perhaps something like:
fromSpot: new go.Spot(1, 0.5, 0, 10),
toSpot: new go.Spot(0.5, 1, 10, 0)
But only on Links where the Link.toPort === Link.fromPort.