(id: number, extra: Partial<GraphNode> = {})
| 19 | } |
| 20 | |
| 21 | export function scopeNode(id: number, extra: Partial<GraphNode> = {}): GraphNode { |
| 22 | return { id, name: `n${id}`, qualified_name: `sample.n${id}`, label: 'Function', file_path: `src/n${id}.ts`, |
| 23 | start_line: 1, end_line: 5, x: id * 10, y: 0, z: 0, size: 2, color: '#999999', ...extra }; |
| 24 | } |
| 25 | |
| 26 | export function scopeFetch({ nodes, edges, gate, degrees = {} }: ScopeFetchOptions) { |
| 27 | const calls: { tool: string; args: Record<string, unknown> }[] = []; |
no outgoing calls