Clamp node link curving when the link is close to horizontal.
Issue
Since rBee1d5fb9e467 curved node links always attach to sockets facing
horizontally, entering them from the left and leaving them to the right.
This can look weird, when reroutes are used to route links backwards
horizontally and the ends overshoot.
This type of link routing seems to be commonly used with straight node
links, so it makes sense to support it better with curved links, as
well.
This came up, when discussing T98779 with @Pablo Vazquez (pablovazquez)
Idea
This patch effectively decreases the link curving as the end points get
close to horizontal preventing the overshoot.
A side effect of this is, that the link curving is smoothed out a bit
in general when node links are very horizontal, which I think looks
nicer with very strong link curving anyway.
| master | patch | |
|---|---|---|
| cuving = 4 (default) | ||
| curving = 10 (max) | ||
| all curving levels (.gif) |






