(root: WireBlock)
| 55 | } |
| 56 | |
| 57 | function 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 |
no test coverage detected