LEDA

Read graphs in LEDA format.

LEDA is a C++ class library for efficient data types and algorithms.

Format

See http://www.algorithmic-solutions.info/leda_guide/graphs/leda_native_graph_fileformat.html

read_leda(path[, encoding])

Read graph in LEDA format from path.

parse_leda(lines)

Read graph in LEDA format from string or iterable.