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

Function scopeNode

graph-ui/src/galaxy/test-scope-fetch.ts:21–24  ·  view source on GitHub ↗
(id: number, extra: Partial<GraphNode> = {})

Source from the content-addressed store, hash-verified

19}
20
21export function scopeNode(id: number, extra: Partial<GraphNode> = {}): GraphNode {
22 return { id, name: `n${id}`, qualified_name: `sample.n${id}`, label: 'Function', file_path: `src/n${id}.ts`,
23 start_line: 1, end_line: 5, x: id * 10, y: 0, z: 0, size: 2, color: '#999999', ...extra };
24}
25
26export function scopeFetch({ nodes, edges, gate, degrees = {} }: ScopeFetchOptions) {
27 const calls: { tool: string; args: Record<string, unknown> }[] = [];

Calls

no outgoing calls

Tested by 1

renderFanFunction · 0.72