A plugin that allows the user to draw vertices with the mouse, and when dragging a new group, existing groups and nodes can be snagged and added to the group.

Implements

Methods

  • Private

    Does the work of adding a vertex, node or group.

    Parameters

    Returns void

  • Private

    Filters the selection so that any nodes/groups which are descendants of some other group in the selection are removed. We want to retain the members of any group we add to a new group, not add those members to this new group

    Returns {
        groups: Group[];
        nodes: Node[];
    }

    • groups: Group[]
    • nodes: Node[]