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

Function node

graph-ui/src/galaxy/galaxy-model.test.ts:27–39  ·  view source on GitHub ↗
(id: number, overrides: Partial<GraphNode> = {})

Source from the content-addressed store, hash-verified

25import type { GraphData, GraphNode } from './types';
26
27function node(id: number, overrides: Partial<GraphNode> = {}): GraphNode {
28 return {
29 id,
30 x: id,
31 y: 0,
32 z: 0,
33 label: 'Function',
34 name: `n${id}`,
35 size: 4,
36 color: '#ffffff',
37 ...overrides,
38 };
39}
40
41/** Ein Ausschnitt in der Form, die /api/layout wirklich liefert. */
42const NODES: GraphNode[] = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected