(link: { source: string; target: string })
| 295 | * anything else — including the spaces, arrows and colons that read nicer. |
| 296 | */ |
| 297 | export function linkId(link: { source: string; target: string }): string { |
| 298 | return `${link.source}\u0000${link.target}`; |
| 299 | } |
| 300 | |
| 301 | export function buildMapLayout( |
| 302 | payload: Pick<WireMapPayload, 'modules' | 'links'>, |
no outgoing calls