spouseFamilies()->map(function (Family $family): Collection { return $family->children(); })->flatten();
?>
= view('modules/hourglass-chart/children', ['children' => $children, 'generations' => $generations - 1, 'show_spouse' => $show_spouse]) ?>
= view('chart-box', ['individual' => $individual]) ?>
spouseFamilies() as $family): ?>
= view('chart-box', ['individual' => $family->spouse($individual)]) ?>
primaryChildFamily() !== null): ?>
= view('modules/hourglass-chart/parents', ['generations' => $generations - 1, 'family' => $individual->primaryChildFamily()]) ?>