fixed the pretty printing of the graph