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

Function node

graph-ui/src/galaxy/coverage-shadow.test.ts:6–6  ·  view source on GitHub ↗
(id: number, label = 'File')

Source from the content-addressed store, hash-verified

4import type { GraphData, GraphNode } from './types';
5
6const node = (id: number, label = 'File'): GraphNode => ({ id, x: 1, y: 2, z: 3, label, name: `node-${id}`, file_path: `src/${id}.ts`, size: 4, color: '#00ff88', status: 'structural' });
7const fixture = (): GraphData => ({
8 nodes: [node(1), node(-1)], edges: [], total_nodes: 2,
9 missed_graph: { nodes: [node(1, 'Folder'), node(2)], edges: [{ source: 1, target: 2, type: 'CONTAINS_FILE' }], offset: { x: 100, y: -300, z: 10 } },

Callers 2

fixtureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected