NetworkX

Previous topic

networkx.write_edgelist

Next topic

networkx.read_gml

Quick search

GMLΒΆ

Read graphs in GML format. See http://www.infosun.fim.uni-passau.de/Graphlet/GML/gml-tr.html for format specification.

Example graphs in GML format: http://www-personal.umich.edu/~mejn/netdata/

read_gml (path) Read graph in GML format from path. Returns an Graph or DiGraph.
write_gml (G, path) Write the graph G in GML format to the file or file handle path.
parse_gml (lines) Parse GML format from string or iterable. Returns an Graph or DiGraph.