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