Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > addGroup

JsPlumbToolkit.addGroup() method#

Adds a new Group.

Signature:

addGroup(data: ObjectData, eventInfo?: any, doNotFireEvent?: boolean): Group;

Parameters#

ParameterTypeDescription
dataObjectDataBacking data for the Group.
eventInfoanyUsed internally, sometimes, by the Toolkit.
doNotFireEventbooleanInternal usage.

Returns:

Group

The Group that was added.