dist_graph is newly implemented.