<?php

use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;

/**
 * @var Collection<int,Individual> $ancestors
 * @var int                        $generations
 * @var Collection<int,string>     $links
 * @var string                     $spacer
 * @var string                     $style
 */
?>

<div class="wt-chart-pedigree-<?= e($style) ?>">
    <?= view('modules/pedigree-chart/chart-' . $style, ['ancestors' => $ancestors, 'sosa' => 1, 'generation' => 1, 'generations' => $generations, 'links' => $links, 'spacer' => $spacer]) ?>
</div>
