(id: string)
| 6 | import { EdgeManager } from './edge-manager' |
| 7 | |
| 8 | function createMockBlock(id: string): SerializedBlock { |
| 9 | return { |
| 10 | id, |
| 11 | metadata: { id: 'test', name: 'Test Block' }, |
| 12 | position: { x: 0, y: 0 }, |
| 13 | config: { tool: '', params: {} }, |
| 14 | inputs: {}, |
| 15 | outputs: {}, |
| 16 | enabled: true, |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | function createMockNode( |
| 21 | id: string, |