StreamGraph([Iterable<GraphNode> nodes = const []]) { graph.comparator = null; nodes.forEach(addNode); }