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

Function edge

__tests__/ui-steps-model.test.ts:266–266  ·  view source on GitHub ↗
(from: string, to: string)

Source from the content-addressed store, hash-verified

264 return n.x >= zone.x && n.x + n.width <= zone.x + zone.width;
265 };
266 const edge = (from: string, to: string) => model.layout.edges.find((e) => e.source === from && e.target === to)!;
267
268 it('names the regions in the order the walk met them, each holding its own boxes', () => {
269 expect(model.regions!.map((z) => z.label)).toEqual(['PanelA', 'PanelB']);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected