get_graph added in graph.hpp