MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / at

Function at

__tests__/ui-steps-model.test.ts:261–261  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

259 ];
260 const model = buildStepsModel(payload([anchor, a1, a2, b1, a3], links));
261 const at = (id: string) => model.layout.nodes.find((n) => n.id === id)!;
262 const between = (id: string, zone: { x: number; width: number }) => {
263 const n = at(id);
264 return n.x >= zone.x && n.x + n.width <= zone.x + zone.width;

Callers 2

betweenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected