(edge: Edge, src: Node, tgt: Node)
| 3839 | } |
| 3840 | links.sort((a, b) => Number(a.lowValue) - Number(b.lowValue) || b.weight - a.weight || a.turn - b.turn); |
| 3841 | const linkLine = (edge: Edge, src: Node, tgt: Node): string => { |
| 3842 | // `TrySet → TrySet` says neither which interface nor which implementation: |
| 3843 | // a same-name link names each end by its owner, as the agent would write it. |
| 3844 | const same = src.name === tgt.name; |
| 3845 | return `- ${same ? followUpName(src) : src.name} → ${same ? followUpName(tgt) : tgt.name} [${this.synthEdgeNote(edge) ?? edge.kind}]`; |
| 3846 | }; |
| 3847 | // Distinct links can still read the same, and one line says it: gin declares |
| 3848 | // `Binding` once per build tag, so both declarations' `Bind` link to formBinding's, |
| 3849 | // and when the Flow runs through one of them, the other's link reads as its hop. |
nothing calls this directly
no test coverage detected