MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / nodeById

Function nodeById

graph-ui/src/agents/agent-view.ts:186–192  ·  view source on GitHub ↗
(nodes: readonly GraphNode[])

Source from the content-addressed store, hash-verified

184}
185
186function nodeById(nodes: readonly GraphNode[]): Map<number, GraphNode> {
187 const out = new Map<number, GraphNode>();
188 for (const node of nodes) {
189 out.set(node.id, node);
190 }
191 return out;
192}
193
194/**
195 * Die zuletzt besuchten Knoten dieses Akteurs, neuester zuerst.

Callers 1

buildAgentsViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected