(id: number, x = id, y = 0, z = 0)
| 6 | import type { GraphNode } from './types'; |
| 7 | |
| 8 | const node = (id: number, x = id, y = 0, z = 0): GraphNode => ({ |
| 9 | id, x, y, z, name: `node${id}`, label: 'Function', size: 1, color: '#ffffff', |
| 10 | }); |
| 11 | |
| 12 | describe('Galaxy edge geometry', () => { |
| 13 | it('binds pulse progress to source and target, regardless of node order', () => { |