(id: string)
| 1023 | // Layers count from the bottom, as the Map's do: the route of an edge and |
| 1024 | // which sides it uses fall out of the comparison alone. |
| 1025 | const layerOf = (id: string): number => |
| 1026 | id === anchor.id ? globalLine + 1 : globalLine - (at.get(id)?.line ?? 0); |
| 1027 | |
| 1028 | const nodesById = new Map<string, MapNodeLayout>(); |
| 1029 | const place = (id: string, x: number, yy: number): void => { |