Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/avoidwork/tiny-graph
/ neighbors
Method
neighbors
src/graph.js:84–88 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
82
}
83
84
neighbors (x) {
85
const
n = this.nodes[x];
86
87
return
defined(n) ? Object.keys(n.edges) : [];
88
}
89
90
setEdgeValue (x, y, v) {
91
let
result = false;
Callers
1
graph.js
File · 0.45
Calls
1
defined
Function · 0.70
Tested by
no test coverage detected