MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / path-frame.test.ts

File path-frame.test.ts

graph-ui/src/galaxy/path-frame.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest';
2import { PATH_FRAME_MARGIN, pathFrame, placeAlongSegment, type ScreenRect } from './path-frame';
3
4/* A camera looking down -z with y up, as the scene sets it; projection by hand. */

Callers

nothing calls this directly

Calls 5

pathFrameFunction · 0.90
placeAlongSegmentFunction · 0.90
expectFunction · 0.85
projectFunction · 0.70
overlapsFunction · 0.70

Tested by

no test coverage detected