Blazor-Diagrams / Blazor.Diagrams

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

Drag a node into/out of a group #158

Closed chunliu closed 2 years ago

chunliu commented 2 years ago

Is it possible to drag a node into or out of a group?

zHaytam commented 2 years ago

Hello! Currently, no. Moving a node expands the group. If I understand correctly, you want the group to have a fixed size? And if a node goes out or in it joins/leaves the group? It sounds like an interesting idea.

Could I know what would be an example use case? And maybe an example of a library/product that already does it so I can see it visually and how it works?

Thank you

chunliu commented 2 years ago

A use case could be like in a network diagram, a group can be used to represent a subnet and a node can be used to represent a VM. When I drag a VM to a subnet, I assign the VM to that subnet, and vice versa. I don't know if there is any library which can do it, but it would be great if your lib can support it.

zHaytam commented 2 years ago

Part of #216