Skip to main content

Home > @jsplumbtoolkit/core > Graph > deleteGroup

Graph.deleteGroup() method

Deletes a Group

Signature:

deleteGroup(g: string | Group, removeMembers?: boolean): GroupDeletion;

Parameters

ParameterTypeDescription
gstring | GroupEither a Group, or a Group id.
removeMembersbooleanIf true, also remove all the Nodes/Groups that are members of the Group.

Returns:

GroupDeletion