Returns a list of root nodes (without inputs).
List<Node<T>> get roots => _allNodes.values.where((e) => e.isRoot).toList(growable: false);