miroiu / nodify

Highly performant and modular controls for node-based editors designed for data-binding and MVVM.
https://miroiu.github.io/nodify
MIT License
1.39k stars 224 forks source link

Smooth connections #149

Closed miroiu closed 1 week ago

miroiu commented 1 week ago

📝 Description of the Change

Added CornerRadius to Line, Circuit and Step connections to allow smoothing the corners between line segments. Also added a Connection Corner Radius setting in the Playground app.

image

Closes #148

🐛 Possible Drawbacks

Directional arrows will not interpolate correctly (may not be noticeable with a small radius). May have a small impact on performance when CornerRadius is greater than 0.