Update directed_graph_v6.cpp