(id: string)
| 292 | // The handle order must follow the targets' left-to-right order, or the |
| 293 | // three edges cross each other inside the gap for no reason. |
| 294 | const xOf = (id: string) => { |
| 295 | const n = layout.nodes.find((m) => m.id === id)!; |
| 296 | return n.x + n.width / 2; |
| 297 | }; |
| 298 | const targets = top.sourceHandles.map( |
| 299 | (id) => layout.edges.find((e) => e.id === id)!.target |
| 300 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected