xref: /webtrees/resources/views/modules/pedigree-chart/chart.phtml (revision b11cdcd45131b1585d66693fab363cfeb18c51a4)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Individual;
6use Illuminate\Support\Collection;
7
8/**
9 * @var Collection<int,Individual> $ancestors
10 * @var int                        $generations
11 * @var Collection<int,string>     $links
12 * @var string                     $spacer
13 * @var string                     $style
14 */
15?>
16
17<div class="wt-chart-pedigree-<?= e($style) ?>">
18    <?= view('modules/pedigree-chart/chart-' . $style, ['ancestors' => $ancestors, 'sosa' => 1, 'generation' => 1, 'generations' => $generations, 'links' => $links, 'spacer' => $spacer]) ?>
19</div>
20