networkx.from_dict_of_dicts
networkx.from_edgelist
Enter search terms or a module, class or function name.
Return a list of edges in the graph.
G : graph
A NetworkX graph
nodelist : list
Use only nodes specified in nodelist