Blazor.Diagrams icon indicating copy to clipboard operation
Blazor.Diagrams copied to clipboard

Add Enabled flag to ports

Open suraj-desai-wtg opened this issue 1 year ago • 2 comments

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

suraj-desai-wtg avatar Feb 19 '24 05:02 suraj-desai-wtg

Hello, thanks for the PR!

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

zHaytam avatar Feb 24 '24 10:02 zHaytam

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

suraj-desai-wtg avatar Feb 27 '24 17:02 suraj-desai-wtg

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!

zHaytam avatar Aug 11 '24 13:08 zHaytam