Returns a list of nodes market as targets.
List<Node<T>> get targets => _allNodes.values.where((e) => e.isTarget).toList(growable: false);