We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

A connection relationship error occurs when the node is serialized and saved and then imported

Create several nodes in the diagram, then connect them with connectors, and then analyze the connection relationship between nodes and connectors


The parsed connections are as follows


the connection relationship is correct now

Serialize and save the above diagram and import it again


Diagram picture after reimport

At this time, reanalyzing the connection relationship has the following results


It can be seen that there was originally a connector with a hash of 35767376 on the connector with a hash of 41241385, but now the connector with a hash of 35767376 is lost


This is my project file:

https://drive.google.com/file/d/1ZvQPBaLJirb6-rn-kODRmpC2ufhTqnCb/view?usp=share_link


This is the xaml file generated by serialization:

https://drive.google.com/file/d/1K9VGlj2j1yBl_YWVWQ7DSnpOQ9uQjVWE/view?usp=sharing


1 Reply

PP Prakash Perumal Syncfusion Team February 8, 2023 04:37 PM UTC

Hi Tealer,


We have validated the reported issue of connectors staying in a disconnected state after saving and loading the diagram. After analysing the provided xaml file, we discovered that the target information was not present for the connector between I5 node and a line (I4 – O4). So only those entries were not available in the database.



We also attempted to create a similar diagram as the one in the provided image with your application but were unable to reproduce the issue. The connection remained the same after saving, and the database had the necessary entries when parsing the connection. We have attached the xaml file for the diagram we tried.


XAML file: https://www.syncfusion.com/downloads/support/directtrac/general/ze/test_ladder_modified693452533


Would you be able to provide us with a video demonstration to help us replicate this issue?


Best regards,

Prakash


Loader.
Live Chat Icon For mobile
Up arrow icon