Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastMAS/KVCOMM
/ num_edges
Method
num_edges
KVCOMM/graph/graph.py:112–116 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
110
111
@property
112
def
num_edges(self):
113
num_edges = 0
114
for
node in self.nodes.values():
115
num_edges += len(node.spatial_successors)
116
return
num_edges
117
118
@property
119
def
num_nodes(self):
Callers
nothing calls this directly
Calls
1
values
Method · 0.80
Tested by
no test coverage detected