parse_leda
Read graph in LEDA format from string or iterable.
lines (string or iterable) – Data in LEDA format.
G
NetworkX graph
Examples
G=nx.parse_leda(string)
References
http://www.algorithmic-solutions.info/leda_guide/graphs/leda_native_graph_fileformat.html