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