A pretty string representation of a graph