GML
networkx.write_gml
Read graph in GML format from path. Returns an Graph or DiGraph.
This doesn’t implement the complete GML specification for nested attributes for graphs, edges, and nodes.