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

Function graphNode

graph-ui/src/galaxy/use-graph-scope.test.tsx:68–69  ·  view source on GitHub ↗
(id: number)

Source from the content-addressed store, hash-verified

66});
67
68const graphNode = (id: number): GraphNode => ({ id, name: `n${id}`, qualified_name: `p.n${id}`, label: 'Function',
69 file_path: id === 1 ? 'src/a.ts' : `src/${id}.ts`, x: 0, y: 0, z: 0, size: 3, color: '#abcdef' });
70const graph: GraphData = { nodes: [1, 2, 3, 4, 5].map(graphNode), total_nodes: 5, edges: [
71 { source: 1, target: 2, type: 'CALLS' }, { source: 1, target: 3, type: 'IMPORTS' },
72 { source: 3, target: 4, type: 'CALLS' }, { source: 2, target: 5, type: 'CALLS' },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected