def adjacency_list(self):
        return list(map(list,iter(self.adj.values())))
Return an adjacency list representation of the graph.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.adjacency_list