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

Function node

graph-ui/src/galaxy/selection-evidence.test.tsx:34–34  ·  view source on GitHub ↗
(id: number, name: string, file: string)

Source from the content-addressed store, hash-verified

32
33it('classifies every scope edge by direction relative to the roots before bounding names', () => {
34 const node = (id: number, name: string, file: string) => ({ id, name, label: 'Function', file_path: file, x: 0, y: 0, z: 0, size: 1, color: '#999' });
35 const callers = Array.from({ length: 30 }, (_, index) => node(100 + index, `caller${String(index).padStart(2, '0')}`, index < 20 ? 'dense.py' : 'sparse.py'));
36 const nodes = [node(1, 'root', 'root.py'), node(2, 'sibling', 'root.py'), node(3, 'callee', 'lib.py'), node(4, 'further', 'lib.py'), ...callers];
37 const edges = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected