You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
The text was updated successfully, but these errors were encountered:
Domiii
changed the title
BezierConnector overcompensates if its length is close to or less than its curvinessBezierConnector overcompensates if its length is close to or less than its curvinessMay 14, 2022
Can you change the
Bezier
algorithm to useStraight
instead once edge length gets close to or less thancurviness
? Maybe in form of somestraightThreshold
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
, 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.)
The text was updated successfully, but these errors were encountered: