Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/avoidwork/tiny-graph
/ node
Function
node
lib/tiny-graph.js:14–19 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
12
}
13
14
function
node (value) {
15
return
{
16
value: value,
17
edges: {}
18
};
19
}
20
21
class
Graph {
22
constructor () {
Callers
1
setNodeValue
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected