Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/avoidwork/tiny-graph
/ getEdgeValue
Method
getEdgeValue
lib/tiny-graph.js:82–91 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
80
}
81
82
getEdgeValue (x, y) {
83
const
n = this.nodes[x];
84
let
result;
85
86
if
(defined(n) && defined(n.edges[y])) {
87
result = n.edges[y];
88
}
89
90
return
result;
91
}
92
93
getNodeValue (x) {
94
const
n = this.nodes[x];
Callers
nothing calls this directly
Calls
1
defined
Function · 0.70
Tested by
no test coverage detected