MCPcopy
hub / github.com/networkx/networkx / nodes

Function nodes

networkx/classes/function.py:53–58  ·  view source on GitHub ↗

Returns a NodeView over the graph nodes. This function wraps the :func:`G.nodes ` property.

(G)

Source from the content-addressed store, hash-verified

51
52
53def nodes(G):
54 """Returns a NodeView over the graph nodes.
55
56 This function wraps the :func:`G.nodes <networkx.Graph.nodes>` property.
57 """
58 return G.nodes()
59
60
61def edges(G, nbunch=None):

Callers 2

test_callMethod · 0.85
iterateFunction · 0.85

Calls 1

nodesMethod · 0.80

Tested by 1

test_callMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…