(id: string)
| 832 | // apart. Under a cluster the same line is one line long. |
| 833 | const ids = new Set(region.members.map((m) => m.id)); |
| 834 | const kidsOf = (id: string): string[] => (childrenOf.get(id) ?? []).filter((k) => ids.has(k)); |
| 835 | const starts = region.members.filter((m) => (parentsOf.get(m.id) ?? []).length === 0).map((m) => m.id); |
| 836 | |
| 837 | /** Lay the region out with its lines allowed to run this wide. */ |