NetworkX

Previous topic

networkx.classes.function.nodes_iter

Next topic

networkx.classes.function.number_of_edges

networkx.classes.function.edges

networkx.classes.function.edges(G, nbunch=None)

Return list of edges adjacent to nodes in nbunch.

Return all edges if nbunch is unspecified or nbunch=None.

For digraphs, edges=out_edges