LEDA¶

Read graphs in LEDA format.

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

read_leda(path[, encoding])

Read graph in LEDA format from path.

parse_leda(lines)

Read graph in LEDA format from string or iterable.