Write G in GraphML XML format to path
Parameters: | G : graph
path : file or string
|
---|
Notes
This implementation does not support mixed graphs (directed and unidirected edges together) hyperedges, nested graphs, or ports.
Examples
>>> G=nx.path_graph(4)
>>> nx.write_graphml(G, "test.graphml")