Dear Syncfusion,
I am experiencing some issues with the ComplexHierarchicalTree diagram component.
When there are nodes with only one parent, it works fine. But when adding a node with multiple parents, it freezes the app.
I include here a project that reproduces the issue.
Thanks for the help,
Cristobal.
Hi Cristobal,
We were able to reproduce your reported issue. We are currently validating the issue and will provide additional information on December 18, 2023.
Regards,
Sumathi U.
Hi Sumathi,
Thanks for your quick response. I look forward to hearing from you.
Best regards,
Cristobal.
Reported issue: The application freezes when adding a node with multiple parents in a complex hierarchy layout
We have confirmed that the reported issue is a bug and have logged a defect report regarding it. We will fix the issue and include the fix in our upcoming weekly NuGet release, which is expected to be rolled out on January 3, 2024. We appreciate your patience until then.
Meanwhile, you can track the status of the bug at the following link:
Feedback Link: https://www.syncfusion.com/feedback/49352/the-application-freezes-when-adding-a-node-with-multiple-parents-in-a-complex
Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.
Hi Sumathi,
Thank you for the information.
I look forward to the fix.
Best regards,
Cristobal.
We have noticed that you have set the same value to both the
ID and parent ID, which is not correct. ID value should be an unique
value where as parent ID value should be the ID value of its parent. For
example, in the shared code snippet, you have set the parent ID as
"CFO" and the ID name as "CFO". You cannot update it like
this. Additionally, we have shared a modified code snippet for your
reference.
Code Snippet:
|
protected override Task OnInitializedAsync() { ObjectDataSource = new List<ObjectData>() { new ObjectData() { Name = "CEO", Id = "CEO" }, new ObjectData() { Name = "COO", Id = "COO", ParentEntities = new[] { new EntityInfoDto() { Id = "CEO", Name = "CEO" } } }, new ObjectData() { Name = "CTO", Id = "CTO", ParentEntities = new[] { new EntityInfoDto() { Id = "CEO", Name = "CEO" } } }, new ObjectData() { Name = "CFO", Id = "CFO", ParentEntities = new[] { new EntityInfoDto() { Id = "CEO", Name = "CFO" } } }, new ObjectData() { Name = "Child", Id = "CHILD", ParentEntities = new[] { new EntityInfoDto() { Id = "COO", Name = "COO" }, new EntityInfoDto() { Id = "CTO", Name = "CTO" } } }, }; return base.OnInitializedAsync(); } |
We have fixed the reported issue "The application freezes when adding a node with multiple parents in a complex hierarchy layout" and have included the fix in our weekly patch release (v24.1.44). To resolve the reported issue, please update the "Syncfusion.Blazor.Diagram" package to the latest version in your application. You can find the package link below.
Hi,
Thanks for noting the mistake in the snippet. Of course, it was a sandbox transcript issue. However, the issue was there in any case.
I checked the new version, and the issue is solved.
Thanks,
Cristobal.
Hi Cristobal,
Thank you for the update.
Glad that your issue is resolved. Please let us know if you require any further assistance on this, we will be happy to assist you.
Regards,
Preethi R