(link: WireStepLink)
| 1197 | |
| 1198 | /** The layout edge a link draws as, or null when it is a self-loop. */ |
| 1199 | export function stepPairId(link: WireStepLink): string | null { |
| 1200 | return link.from === link.to ? null : linkId({ source: link.from, target: link.to }); |
| 1201 | } |