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

Added directional arrows on connections #102

Closed miroiu closed 6 months ago

miroiu commented 7 months ago

📝 Description of the Change

Added directional arrows to all connection types that can be displayed by setting DirectionalArrowsCount.

Note that the arrows will flow in the direction of the connection (BaseConnection.Direction) and the arrowhead size is determined by BaseConnection.ArrowSize

image image image

🐛 Possible Drawbacks

Introduces breaking changes that may affect some code bases. There's no way to draw directional arrows by default (developers must override DrawDirectionalArrowsGeometry for each custom connection).