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