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

Function graph

graph-ui/src/galaxy/graph-scope.test.ts:362–362  ·  view source on GitHub ↗
(count: number)

Source from the content-addressed store, hash-verified

360
361it('keeps the whole graph on screen while the first scope picture is still empty', () => {
362 const graph = (count: number): GraphData => ({ nodes: Array.from({ length: count }, (_, id) => ({ id, name: `n${id}`, label: 'Function', x: 0, y: 0, z: 0, size: 1, color: '#999999' })), edges: [], total_nodes: count });
363 const layout = graph(5), stale = graph(2), current = graph(3), empty = graph(0);
364 // An empty preview of a symbol outside the loaded layout is no picture.
365 expect(scenePictureFor(empty, undefined, layout)).toBe(layout);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected