NetworkX

Previous topic

nodes_iter

Next topic

number_of_edges

edges

static 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