On this pageHome > @jsplumbtoolkit/core > Graph > getGroupsGraph.getGroups() methodGets the Groups in the graph.Signature:getGroups(): Array<Group>;Returns:Array<Group>All the groups in the Graph.