#

Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

#

networkx.classes.function.edges

edges(G, nbunch=None)[source]

Returns an edge view of edges incident to nodes in nbunch.

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

For digraphs, edges=out_edges