Can you change the Bezier algorithm to use Straight instead once edge length gets close to or less than curviness? Maybe in form of some straightThreshold option?
Here are some examples of how Bezier gets really messy once edge length gets short.
In the first example, the two nodes have a distance of about 2 x curviness, second 1 x curviness, third .5 x curviness:

For reference: "Curved Connectors" in Google Slides straighten out when the connecting surfaces have a very low relative angle. That is also ok, but maybe harder to implement? (Also, it bugs out with non-rectangular shapes, where connectors come in at a too low angle.)
Can you change the
Bezieralgorithm to useStraightinstead once edge length gets close to or less thancurviness? Maybe in form of somestraightThresholdoption?Here are some examples of how
Beziergets really messy once edge length gets short.In the first example, the two nodes have a distance of about
2 x curviness, second1 x curviness, third.5 x curviness:For reference: "Curved Connectors" in Google Slides straighten out when the connecting surfaces have a very low relative angle. That is also ok, but maybe harder to implement? (Also, it bugs out with non-rectangular shapes, where connectors come in at a too low angle.)