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

Add OutlineBrush and OutlineThickness to BaseConnection #133

Closed miroiu closed 3 months ago

miroiu commented 3 months ago

📝 Description of the Change

Add an outline to all connections that specify an OutlineBrush.

New dependency properties for BaseConnection:

To only widen the connection clickable range you can just set the OutlineBrush to Transparent.

connection-outline

Fixes #131

🐛 Possible Drawbacks

It affects rendering performance for connections that have a custom OutlineBrush.