Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anvaka/ngraph.path
/ setNodeId
Function
setNodeId
test/nodeHeap.js:48–50 ·
view source on GitHub ↗
(node, id)
Source
from the content-addressed store, hash-verified
46
const
nodes = [{ v: 10 }];
47
new
NodeHeap(nodes, {
48
setNodeId(node, id) {
49
node.id = id;
50
},
51
});
52
53
expect(nodes[0].id).toBe(0);
Callers
1
NodeHeap.js
File · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected