MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / node

Function node

graph-ui/src/galaxy/projected-node-spacing.test.ts:6–7  ·  view source on GitHub ↗
(id: number, x: number, y: number, z: number, size = 8)

Source from the content-addressed store, hash-verified

4import type { GraphNode } from './types';
5
6const 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
9describe('visible node separation', () => {
10 for (const orthographic of [false, true]) it(`separates nodes aligned along the viewing ray (${orthographic ? 'orthographic' : 'perspective'})`, () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected