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

Function fan

graph-ui/src/galaxy/graph-scope.test.ts:328–328  ·  view source on GitHub ↗
(count: number, first: number)

Source from the content-addressed store, hash-verified

326
327 it('names every node up to the budget; above it the root and its direct neighbours keep names and single columns', () => {
328 const fan = (count: number, first: number) => Array.from({ length: count }, (_, at) => node(first + at));
329 const small = scoped([node(1), ...fan(20, 100)], fan(20, 100).map(entry => ({ source: entry.id, target: 1, type: 'CALLS' })),
330 [[1, 0], ...fan(20, 100).map(entry => [entry.id, 1] as [number, number])]);
331 expect(small.names).toBe('all');

Callers 1

Calls 1

nodeFunction · 0.70

Tested by

no test coverage detected