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

Function Graph_number_of_nodes

cpp_easygraph/classes/graph.cpp:200–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200py::object Graph_number_of_nodes(Graph& self) {
201 return py::cast(int(self.node.size()));
202}
203
204py::object Graph_has_node(Graph& self, py::object node) {
205 return py::cast(self.node_to_id.contains(node));

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected