Closed aespogom closed 1 year ago
The issue is that you have missed pids several times.
for example if you here pids here:
{
id: "ececf641-f394-4b75-9d3b-58f758cc577c",
name: "Pedro",
pids: [
"572505f3-cde5-460f-b078-205d4a7d53ea",
],
},
you should have here also
{
id: "572505f3-cde5-460f-b078-205d4a7d53ea",
name: "Lola",
pids: [
"ececf641-f394-4b75-9d3b-58f758cc577c",
],
},
You are totally right!! I did not notice that I was missing some pids. Thank you so much for your help.
I have a deep tree with at maximum 5 levels in Angular 13. When the nodes are loaded, the preview is fine. However, the problem is that if I try to expand level 3 to a hidden level 4, the lower part is the tree (level 1 and 2) disappears!
This image is the preview right after loading the nodes:
These are my nodes: `
`
This is my FamilyTree configuration summarized: `
` This is what happens when clicking on the parent node from the previous image: The nodes from level 3 and 4 are right but level 1 and 2 disappears.
These are the versions I am using: "@balkangraph/familytree.js": "^1.7.17" Angular CLI: 13.0.4 Node: 14.18.3 Package Manager: npm 6.14.15 OS: win32 x64 Angular: 13.0.3
Thank you in advance!