<div class="shadow-2xl rounded p-2 mt-2">
<h3>Family Tree </h3>
<div>
    <label>link from partner and Father and Mother Id</label>
<div >
    <!-- selectionMode="multiple" [(selection)]="selectedNodes" -->
    <p-organization-chart [value]="familyTree()" [collapsible]="true">
        <ng-template let-node pTemplate="default">
            <div class="flex flex-col items-center">
                <!--img src="https://primefaces.org/cdn/primeng/images/flag/flag_placeholder.png" [alt]="node.label" [class]="'flag' + ' flag-' + node.data" width="32" /-->
                <div class="mt-4 font-medium text-lg">{{ node.label }}</div>
                <div>{{ node.data }}</div>
            </div>
        </ng-template>
    </p-organization-chart>
</div>
<div class="flex justify-end">
        <button pButton pRipple class="p-button-sm mr-2 p-button-success" type="button" icon="pi pi-sign-in" label="Close"
          (click)="close()"></button>
  </div>
</div>
  
