Parse GML graph from a string or iterable.
Parameters : | lines : string or iterable
relabel : bool, optional
|
---|---|
Returns : | G : MultiGraph or MultiDiGraph |
Raises : | ImportError :
|
Notes
This stores nested GML attributes as dictionaries in the NetworkX graph, node, and edge attribute structures.
Requires pyparsing: http://pyparsing.wikispaces.com/
References
GML specification: http://www.infosun.fim.uni-passau.de/Graphlet/GML/gml-tr.html