(a: SidePort, b: SidePort)
| 513 | // Ports spread in the order the other end appears left-to-right, so bundles |
| 514 | // between two layers stay untangled instead of crossing inside the gap. |
| 515 | const byOther = (a: SidePort, b: SidePort) => a.other - b.other || a.id.localeCompare(b.id); |
| 516 | for (const [id, sides] of sidePorts) { |
| 517 | const node = nodesById.get(id); |
| 518 | if (!node) continue; |
nothing calls this directly
no outgoing calls
no test coverage detected