MCPcopy
hub / github.com/networkx/networkx / edges

Function edges

networkx/classes/function.py:61–70  ·  view source on GitHub ↗

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 This function wraps the :func:`G.edges ` property.

(G, nbunch=None)

Source from the content-addressed store, hash-verified

59
60
61def edges(G, nbunch=None):
62 """Returns an edge view of edges incident to nodes in nbunch.
63
64 Return all edges if nbunch is unspecified or nbunch=None.
65
66 For digraphs, edges=out_edges
67
68 This function wraps the :func:`G.edges <networkx.Graph.edges>` property.
69 """
70 return G.edges(nbunch)
71
72
73def degree(G, nbunch=None, weight=None):

Callers 2

Calls 1

edgesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…