(id: string)
| 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; |
no outgoing calls
no test coverage detected