Incorporate `iter_nodes` into `graph::DirectedGraph`
This assumes that the set of valid node IDs is exactly `0..num_nodes`. In practice, we have a lot of graph-algorithm code that already assumes that nodes are densely numbered, by using `num_nodes` to allocate per-node indexed data structures.
Z
Zalathar committed
d36e2b88d643b3d712c6e2d22b4b0d77fea07209
Parent: 6fb0358