Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/avoidwork/tiny-graph
/ neighbors
Method
neighbors
lib/tiny-graph.js:104–108 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
102
}
103
104
neighbors (x) {
105
const
n = this.nodes[x];
106
107
return
defined(n) ? Object.keys(n.edges) : [];
108
}
109
110
setEdgeValue (x, y, v) {
111
let
result = false;
Callers
nothing calls this directly
Calls
1
defined
Function · 0.70
Tested by
no test coverage detected