let iter_vertex f g = Node.Hashtbl.iter (fun v _ -> f v) g.d_graph