Change graph_t to more readable version