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