return the proper version of the graph