$child) : ?>
spouseFamilies()->map(static function (Family $family): Collection {
return $family->children();
})->flatten() ?>
1 && $grandchildren->isNotEmpty()) : ?>
= view('modules/family-book-chart/children', ['children' => $grandchildren, 'generations' => $generations - 1]) ?>
= view('chart-box', ['individual' => $child]) ?>
count() === 1) : ?>
count()) : ?>