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

Function node

graph-ui/src/galaxy/organic-clusters.test.ts:5–7  ·  view source on GitHub ↗
(id: number, file = 'src/shared.ts')

Source from the content-addressed store, hash-verified

3import type { GraphData, GraphEdge, GraphNode } from './types';
4
5const node = (id: number, file = 'src/shared.ts'): GraphNode => ({ id, x: 100, y: 200, z: 300,
6 name: `n${id}`, qualified_name: `sample.n${id}`, file_path: file, label: 'Function',
7 size: 2, color: id % 2 ? '#74899a' : '#aa987f' });
8const edge = (source: number, target: number, type = 'CALLS'): GraphEdge => ({ source, target, type });
9function cliques(): GraphData {
10 const edges: GraphEdge[] = [];

Callers 2

cliquesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected