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

Function node

graph-ui/src/browser-ai/galaxy-context.test.ts:5–5  ·  view source on GitHub ↗
(id: number, fields: Partial<GraphNode> = {})

Source from the content-addressed store, hash-verified

3import { GALAXY_CONTEXT_LIMITS, galaxyNodeContext } from './galaxy-context';
4
5const node = (id: number, fields: Partial<GraphNode> = {}): GraphNode => ({ id, name: `node-${id}`, label: 'Function', x: 0, y: 0, z: 0, size: 1, color: '#fff', ...fields });
6function fixture(): GraphData {
7 return {
8 nodes: [node(1, { name: 'main', qualified_name: 'app.main', file_path: 'src/main.c', start_line: 8, end_line: 21, status: 'entry', in_calls: 0, out_calls: 2 }), node(2, { name: 'initialize' }), node(3, { name: 'caller' })],

Callers 2

fixtureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected