(id: number)
| 31 | })); |
| 32 | |
| 33 | const node = (id: number): GraphNode => ({ id, name: `n${id}`, qualified_name: `sample.n${id}`, label: 'Function', |
| 34 | file_path: `src/n${id}.ts`, start_line: 1, end_line: 5, x: id * 10, y: 0, z: 0, size: 2, color: '#999999' }); |
| 35 | const nodes = [1, 2, 3, 4, 5].map(node); |
| 36 | const edges: GraphEdge[] = [ |
| 37 | { source: 1, target: 2, type: 'CALLS', line: 3 }, { source: 3, target: 1, type: 'CALLS', line: 4 }, |
nothing calls this directly
no outgoing calls
no test coverage detected