GEXF¶
Read and write graphs in GEXF format.
Warning
This parser uses the standard xml library present in Python, which is insecure - see XML Processing Modules for additional information. Only parse GEFX files you trust.
GEXF (Graph Exchange XML Format) is a language for describing complex network structures, their associated data and dynamics.
This implementation does not support mixed graphs (directed and undirected edges together).
Format¶
GEXF is an XML format. See http://gexf.net/schema.html for the specification and http://gexf.net/basic.html for examples.
|
Read graph in GEXF format from path. |
|
Write G in GEXF format to path. |
|
Generate lines of GEXF format representation of G. |
Relabel graph using "label" node keyword for node label. |