When I change the node ZOrder using Z-Order commands:SendToBack(), the command is worked well. And then save the diagram to json string and load from the string,I found the node ZOrder data do not restore,the other layout data is OK.
But When I change the node ZOrder using the BringToFront() command, and then save the diagram to json string and load from the string,the ZOrder data is OK.
Hi Gzthomax,
We have reproduced the issue through the following steps
We are currently validating the above issue , we will provide additional information on February 17, 2023. Could you please confirm us that these are the procedures you are tried at your end to reproduced the issues? If the above procedure is different from your scenario then please provide your replication steps to reproduce the issue at our end.
Regards,
Balavignesh
Dear Balavignesh,
Yes, my problem reproduction steps are the same as you describe.
Thanks
Reported issue: Serialization in the diagram component lost the ZOrder data when using SendToBack() command
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 February 21, 2023. 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/41240/serialization-issue-in-zindex-of-nodes
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 Gzthomax,
We have fixed the reported issue “Serialization issue in Zindex of Nodes ” and included the fix in our weekly patch release(v20.4.0.51). Please update the “Syncfusion.Blazor.Diagram” package to the latest version in your application to resolve the reported issue. Please find the package link below.
https://www.nuget.org/packages/Syncfusion.Blazor.Diagram
it's worked, thank a lot.
We are glad to know that the reported problem has been resolved. Please let us know if you have any further queries on this. We are happy to help.
Regards,
Preethi R