Links issue at endpoints


i m working on a diagram i have run into an issue with my links i want to force them to protrude a little outward instead of drawing a straight line. i dont want it like the link between inventory and rental
i want them protrude first then continue how to do so i m using this template



That is why one normally sets fromSpot and toSpot to be a specific spot or side such as go.Spot.Right or go.Spot.LeftRightSides or whatever is appropriate for the port element. Or override Link.computeSpot.

Specifying a spot ensures that there will be an “end segment” at that end of the link route. You can control how long that perpendicular segment is by setting fromEndSegmentLength and toEndSegmentLength. Or override Link.computeEndSegmentLength.