@open_file(0,mode='rb')
def read_leda(path, encoding='UTF-8'):
    lines=(line.decode(encoding) for line in path)
    G=parse_leda(lines)
    return G
Read graph in LEDA format from path.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/readwrite/leda.py/read_leda