Blazor-Diagrams / Blazor.Diagrams

A fully customizable and extensible all-purpose diagrams library for Blazor
https://blazor-diagrams.zhaytam.com
MIT License
917 stars 176 forks source link

Add Enabled flag to ports #414

Open suraj-desai-wtg opened 4 months ago

suraj-desai-wtg commented 4 months ago

Add an Enabled flag which governs whether a link can be drawn from a node port or not.

zHaytam commented 4 months ago

Hello, thanks for the PR!

May I know why Locked wasn't enough for this use case?

suraj-desai-wtg commented 4 months ago

Locked is used in a context of position. i.e. a Locked port can't be moved. But a property was required which did not allow Links to be created through a Port which is why Enabled was added