(id: number, x: number, y: number, z: number, size = 8)
| 4 | import type { GraphNode } from './types'; |
| 5 | |
| 6 | const node = (id: number, x: number, y: number, z: number, size = 8): GraphNode => |
| 7 | ({ id, x, y, z, size, label: 'Function', name: `node${id}`, color: '#abcdef' }); |
| 8 | |
| 9 | describe('visible node separation', () => { |
| 10 | for (const orthographic of [false, true]) it(`separates nodes aligned along the viewing ray (${orthographic ? 'orthographic' : 'perspective'})`, () => { |
no outgoing calls
no test coverage detected