Home > @jsplumbtoolkit/core > Graph > deleteGroup
Graph.deleteGroup() method
Deletes a Group
Signature:
deleteGroup(g: string | Group, removeMembers?: boolean): GroupDeletion;
Parameters
Parameter | Type | Description |
---|---|---|
g | string | Group | Either a Group, or a Group id. |
removeMembers | boolean | If true, also remove all the Nodes/Groups that are members of the Group. |
Returns: