Blazor.Diagrams
Blazor.Diagrams copied to clipboard
Add Enabled flag to ports
Add an Enabled flag which governs whether a link can be drawn from a node port or not.
Hello, thanks for the PR!
May I know why Locked wasn't enough for this use case?
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
Locked is not only for position, especially for ports that don't move by themselves. I think Enabled is doing the same thing, so Enabled is unnecessary.
I'll be closing this unless you think I'm wrong then please let me know!