### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened 当按照不同顺序创建含有switch节点的工作流时,复制出来的工作流存在丢失关联关系的情况。可见文件中的gif [sw.zip](https://github.com/user-attachments/files/18272248/sw.zip) ### What you expected to happen * ### How to reproduce * ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)