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

Function at

graph-ui/src/galaxy/graph-scope.test.ts:246–246  ·  view source on GitHub ↗
(result: ReturnType<typeof scopedHierarchy>, name: string)

Source from the content-addressed store, hash-verified

244
245describe('hand test K5: the scoped hierarchy reads incoming left, root in the middle, outgoing right', () => {
246 const at = (result: ReturnType<typeof scopedHierarchy>, name: string) => result.placements.find(placement => placement.name === name)!;
247 const scoped = (nodes: GraphNode[], edges: { id?: number; source: number; target: number; type: string; line?: number }[], levels: [number, number][]) =>
248 scopedHierarchy({ data: { nodes, edges, total_nodes: nodes.length }, roots: new Set([1]), depth: Math.max(...levels.map(([, hop]) => hop)), exhausted: false,
249 levels: new Map(levels) }, 'root');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected