Blazor.Diagrams
Blazor.Diagrams copied to clipboard
Clearing the whole diagram (nodes, groups and links)
Hi, it's a question about groups, as there is not Clear() method for them.
I managed to clear my diagram this way : Diagram.Nodes.Clear(); Diagram.Links.Clear(); foreach (var group in Diagram.Groups) { Diagram.Ungroup(group); } I saw that you are not adding group in the List<T> items of the abstract class BaseLayer<T> like for nodes and links. Is there a reason for that and not creating a Clear() method them BTW?