(id: number, name: string, file: string)
| 32 | |
| 33 | it('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 = [ |
no outgoing calls
no test coverage detected