| 3739 | // `Discovery.refresh fetchApps Decoder.Decode` their links to each other filled |
| 3740 | // the cap and hid the one link into `fetchApps`, which the query names exactly. |
| 3741 | const weight = (id: string): number => |
| 3742 | uniqueNamedNodeIds.has(id) || dynNamed.has(id) ? 3 : named.has(id) ? 1 : 0; |
| 3743 | const links: Array<{ edge: Edge; src: Node; tgt: Node; lowValue: boolean; weight: number; turn: number }> = []; |
| 3744 | const seen = new Set<string>(); |
| 3745 | // A link's turn: how many links of its rank the same named symbol already has. |