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

Function round

graph-ui/tools/handtest-fixes-galaxy.mjs:988–988  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

986 ringInCanvas: Boolean(canvas && r.left >= canvas.left && r.left <= canvas.right && r.top >= canvas.top && r.top <= canvas.bottom) };
987 });
988 const round = (r) => ({ text: r.text, left: Math.round(r.left), top: Math.round(r.top), right: Math.round(r.right), bottom: Math.round(r.bottom) });
989 return { labels: all.map(round), overlaps, outside, markers, canvas: canvas ? { width: Math.round(canvas.width), height: Math.round(canvas.height) } : null,
990 scope: panel?.querySelector('.atlas-graph-scope-name')?.textContent ?? '', count: panel?.querySelector('.atlas-graph-scope-count')?.textContent ?? '' };
991 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected