Open Phloog opened 8 months ago
Hello, can you show in that same screenshot how you want them to be? I'm afraid I don't understand what you mean
Hey, I tried to mock the desired behaviour:
The point being that all links leave their nodes orthogonally, not tangentially (see yellow markers and red links).
This becomes even more apparent it there are Arrows etc. at the ends of the links. If the links attach to the nodes tangentially, as in the first screenshot (yellow markers), the arrowheads don't point to the nodes, but sideways.
Oh, I see now! It does look very ugly with arrowheads, you're right.
If you know your way around SVG/paths, you could try to create a custom path generator that returns the links the way you want them, until I have the chance to try to fix them myself
I'll have a look, thanks!
Hi, unfortunately I didn't manage to fix the link routing yet. What I found was that maybe the desired behaviour can be achieved without touching the routing logic, but instead by changing the rotation value on the anchors itself - am I right? This may be a bit easier to do.
What do you think?
If I'm using the Smooth PathGenerator with nodes without anchors, the links often attach to the node tangentially, not orthogonally:
How can I change this so that the links always attach orthogonally to the border of the node?