Warning
This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
read_leda¶
-
read_leda
(path, encoding='UTF-8')[source]¶ Read graph in LEDA format from path.
Parameters: path (file or string) – File or filename to read. Filenames ending in .gz or .bz2 will be uncompressed. Returns: G Return type: NetworkX graph Examples
G=nx.read_leda(‘file.leda’)
References
[1] http://www.algorithmic-solutions.info/leda_guide/graphs/leda_native_graph_fileformat.html