Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > removeGroup

JsPlumbToolkit.removeGroup() method

Removes the given Group from the dataset.

Signature:

removeGroup(group: string | Group, removeChildren?: boolean, doNotFireEvent?: boolean): void;

Parameters

ParameterTypeDescription
groupstring | GroupGroup or ID of Group to remove.
removeChildrenbooleanIf true, Nodes/Groups that are members of the Group will also be removed. Defaults to false.
doNotFireEventbooleanIf true, a group:removed will not be fired as a result of this operation. Otherwise it will.

Returns:

void