Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hello Support Team,
please investigate your Complex Hierarchical Tree example available at your demo page:
https://blazor.syncfusion.com/demos/diagramcomponent/complexhierarchical
The initialization code for the diagram's DataSource creates 25 instances of the HierarchicalDetails class. However, only 21 nodes are displayed in the diagram. The nodes with ids "node16", "node18", "node26", and "node28" are missing from the diagram.
The cause seems that those nodes have an empty list for the ReportingPerson list instead of a NULL value (like "node11", "node21", and "node31" which are shown as root nodes at the top of the diagram).
This error shows its impact when all root nodes (i.e. "node11", "node21", and "node31") are given empty lists for ReportingPerson instead of NULL. Then the whole diagram is not rendered.
Mitigation strategy: Initialize root nodes with NULL for their parent nodes' Id-List.
Desired behavior: Display both, nodes with NULL and nodes with an empty list for their parent nodes' Id-List as root nodes.
Kind regards,
Nico