xref: /webtrees/resources/views/modules/pedigree-chart/chart.phtml (revision 78606cf427772fbdc5222ff607ee23f43078f94b)
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