Get all group nodes
List<GroupNode<T>> getGroupNodes() { return nodes.whereType<GroupNode<T>>().toList(); }