Closed Heathermcx closed 9 months ago
Hello,
First of all thanks a lot for the PR, it's a great amount of work!
Thing is, I have created the Controls feature for this. Since Controls are meant to be "addons" to models (nodes/links), Resizing feature fits perfectly. Controls have widgets too and can be drawn, so all in all it's really made for this type of stuff.
I don't see a Resizer a model because it doesn't really hold any data/information, it's just a thing that you use to change the size of a model, which is purely UI based and I doubt you would consider saving this in the backend no?
What do you think? Sorry if this feels like I'm disregarding your work.
Hi, sorry for the delay in reply. Thank you for the feedback! It makes sense. I have implemented resizing using Controls. PR https://github.com/Blazor-Diagrams/Blazor.Diagrams/pull/393
Resizers can be added to a node. Dragging a resizer resizes the node.