findContainedNodes method

Set<String> findContainedNodes(
  1. GroupAnnotation group
)

Finds all nodes that are completely contained within a group's bounds.

This implements the fluid containment rule: a node is part of a group if and only if its bounding box is completely within the group's bounds.

Implementation

Set<String> findContainedNodes(GroupAnnotation group) {
  return _findNodesInBounds(group.bounds);
}