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.27k stars 205 forks source link

Add new built-in connection type: StepConnection #109

Closed miroiu closed 2 months ago

miroiu commented 2 months ago

📝 Description of the Change

This PR adds a new built-in connection type supporting all existing features: StepConnection

step-connection

No need for Direction, SourceOrientation, and TargetOrientation to be set but it requires two new parameters: SourcePosition and TargetPosition which opens up new possibilities. I may consider removing Direction and Orientation and adding these new parameters to the base connection.

🐛 Possible Drawbacks

More complex code to maintain.