networkx.write_graphml
Enter search terms or a module, class or function name.
Read graph in GraphML format from path.
path : file or string
File or filename to write. Filenames ending in .gz or .bz2 will be compressed.
graph: NetworkX graph :
If no parallel edges are found a Graph or DiGraph is returned. Otherwise a MultiGraph or MultiDiGraph is returned.
Notes
This implementation does not support mixed graphs (directed and unidirected edges together), hypergraphs, nested graphs, or ports.