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

Function overlaps

graph-ui/src/galaxy/path-layer.test.ts:14–14  ·  view source on GitHub ↗
(a: ScreenRect, b: ScreenRect)

Source from the content-addressed store, hash-verified

12import { placeAlongSegment, type ScreenRect } from './path-frame';
13
14const overlaps = (a: ScreenRect, b: ScreenRect) => !(a.right <= b.left || b.right <= a.left || a.bottom <= b.top || b.bottom <= a.top);
15function element(host: HTMLElement, html: string, rect: ScreenRect): HTMLElement {
16 host.insertAdjacentHTML('beforeend', html);
17 const added = host.lastElementChild as HTMLElement;

Callers 1

path-layer.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected