NetworkX

Previous topic

number_of_edges

Next topic

set_node_attributes

edges_iter

edges_iter(G, nbunch=None)[source]

Return iterator over edges adjacent to nodes in nbunch.

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

For digraphs, edges=out_edges