networkx.read_gpickle
GraphML
Enter search terms or a module, class or function name.
Write graph object in Python pickle format.
This will preserve Python objects used as nodes or edges.
G=nx.path_graph(4) nx.write_gpickle(G,”test.gpickle”)
See cPickle.