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

Function rowsOf

__tests__/ui-program-model.test.ts:57–60  ·  view source on GitHub ↗
(root: WireBlock)

Source from the content-addressed store, hash-verified

55}
56
57function rowsOf(root: WireBlock): Record<string, number> {
58 const g = orderGraph({ root, truncated: 0 } as WireProgram, 'anchor');
59 return Object.fromEntries(g.depth);
60}
61
62/* --------------------------------------------------------------- tests -- */
63

Callers 1

Calls 1

orderGraphFunction · 0.90

Tested by

no test coverage detected