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

Function node

graph-ui/src/galaxy/selected-node.test.ts:5–5  ·  view source on GitHub ↗
(id: number, name: string)

Source from the content-addressed store, hash-verified

3import type { GraphData, GraphNode } from './types';
4
5const node = (id: number, name: string): GraphNode => ({ id, name, qualified_name: `p.${name}`, label: 'Function', x: 0, y: 0, z: 0, size: 1, color: '#fff' });
6const layout: GraphData = { nodes: [node(0, 'unrelated'), node(51, 'selected')], edges: [{ source: 51, target: 0, type: 'CALLS' }], total_nodes: 200 };
7
8describe('selected graph identity', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected