def lpu_parser_legacy(filename): """ TODO: Update """ graph = nx.read_gexf(filename) return LPU.graph_to_dicts(LPU.conv_legacy_graph(graph))