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