MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / number_of_nodes

Method number_of_nodes

easygraph/classes/graph.py:1276–1284  ·  view source on GitHub ↗

Returns the number of nodes. Returns ------- number_of_nodes : int The number of nodes.

(self)

Source from the content-addressed store, hash-verified

1274 return False
1275
1276 def number_of_nodes(self):
1277 """Returns the number of nodes.
1278
1279 Returns
1280 -------
1281 number_of_nodes : int
1282 The number of nodes.
1283 """
1284 return len(self._node)
1285
1286 def is_directed(self):
1287 return False

Callers 14

densityFunction · 0.45
average_degreeFunction · 0.45
_independent_cascadeFunction · 0.45
_get_idomFunction · 0.45
_find_topk_shs_under_lFunction · 0.45
_get_estimated_optFunction · 0.45
maxBlockFunction · 0.45
maxBlockFastFunction · 0.45
sum_of_shortest_pathsFunction · 0.45
_independent_cascadeFunction · 0.45
generate_ucinetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected