networkx.write_gml
Pickle
Parse GML format from string or iterable. Returns an Graph or DiGraph.
This doesn’t implement the complete GML specification for nested attributes for graphs, edges, and nodes.