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