Link overlapping itself not fully drawn

Hi! I’m reproducing the functionality of a diagram from another software and when a link overlaps itself it is not being fully drawn as it seems to only draw the shorter route between the two nodes. In the first GIF, you can see how it is being cropped, and in the second GIF how it should behave.


In the following screenshot, you can see that the points that are being used by the link have the correct coordinates and should display a line that overlaps itself.

I really don’t know why it is not working as intended, could I make this work somehow?

Thanks!