- Home
- Forum
- React - EJ 2
- Connector lines are overlapping nodes in diagram
Connector lines are overlapping nodes in diagram
Hi team,
I am implementing a Syncfunction diagram, but the connector lines are overlapping nodes. Could you guy help me with that? I put a screenshot & code below.
Thank you in advance!
Hi Lia,
Thank you for bringing this to our attention. We have successfully replicated the issue you’re facing, where the connector lines are overlapping the nodes in your diagram.
After investigating, we found that this can be resolved by enabling the enableRouting property within the layout settings. This ensures that the connectors automatically avoid nodes and route properly around them.
Once you set enableRouting to true, the connectors will be routed correctly, and the overlapping issue will be resolved.
For your reference, please check the updated sample and UG documentation.
Sample - 36knoyes (forked) - StackBlitz
UG doc - https://ej2.syncfusion.com/react/documentation/diagram/complex-layout#enable-routing-for-layout
Please let us know if you need any further assistance!
Best regards,
Meriton
Hi Meriton,
Your suggestion solved my problem.
Thank you for your help! Wishing you a great workday!
Hi Lia Tran,
You are welcome.
We are glad that the provided response meets your requirement. Please let us know if you need further assistance. As always, we are happy to help you out.
Regards,
Preethi R
Hi team,
Continue working with the sample you sent, I found that if there is no connectors, nodes will overlap each other (please refer to attached screenshot).
How can I fix it?
Thank you!
Hi Lia Tran,
Thank you for reporting the issue.
We were able to replicate the problem on our end where nodes overlap when there are no connectors. Our team is currently validating the issue, and we will get back to you as soon as possible.
We appreciate your patience. Please let us know if you have any further queries.
Best regards,
Meriton
Hi Meriton,
This is an important issue since our diagram may contain multiple independent nodes that aren't connected to others. I’d really appreciate your solution as soon as possible.
Thanks a lot!
Hi Lia Tran,
If the connector collection is empty, we recommend setting the enableRouting property in the layout settings to false. This will prevent nodes from overlapping during layout rendering.
However, we are actively working on a fix to handle this scenario even when enableRouting is set to true, ensuring proper node placement regardless of connector availability
Please let us know if you need any further assistance in the meantime.
Best regards,
Meriton
Hi Meriton,
Thank you for your response.
The issue causing independent nodes to overlap is due to setting enableRouting = true, which is intended to prevent connectors from overlapping nodes.
Unfortunately, we need both issues to be resolved, as they are affecting our UI.
I’d like to know if this bug is relatively simple and can be fixed soon, as we are approaching our app’s release date. If it can’t be resolved in time, we may need to look for an alternative solution.
Thank you very much, and I look forward to your response!
Kind regards,
Lia
Hi Lia Tran,
Reported Issue: Independent nodes get overlapped in complex hierarchical tree layout
We can reproduce the issue and confirmed this as a defect. We have logged a defect report for this issue. We will fix this issue and provide the patch on April 29th 2025 weekly patch release.
Feedback link: Independent nodes get overlapped in complex hierarchical tree layout in React | Feedback Portal
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Best Regards,
Meriton
Hi Meriton,
Thank you for the prompt update and for confirming the issue.
We appreciate your support and look forward to the release.
Best regards,
Lia Tran
Hi Meriton,
Thank you for the prompt update and for confirming the issue.
We appreciate your support and look forward to the release.
Best regards,
Lia Tran
Hi Lia Tran,
We have resolved the reported issue "Independent nodes get overlapped in complex hierarchical tree layout", but due to additional testing on related scenarios, the fix could not be included in the latest weekly release. In the meantime, we have provided a custom patch, and the fix will be included in our upcoming weekly release which is scheduled to release on May 06, 2025.
We apologize for any inconvenience this may have caused and appreciate your understanding.
Best Regards,
Meriton
Attachment: syncfusionej2diagrams29.1.40_56be43b5.zip
Hi Meriton,
Thank you for the update and for providing the custom patch in the meantime.
I appreciate your team’s efforts in addressing the issue and thoroughly testing related scenarios.
Looking forward to the upcoming release on May 06.
Best regards,
Lia Tran
Hi Meriton,
Thank you for the update and for providing the custom patch in the meantime.
I appreciate your team’s efforts in addressing the issue and thoroughly testing related scenarios.
Looking forward to the upcoming release on May 06.
Best regards,
Lia Tran
Hi Lia Tran,
Thank you for your valuable feedback. As promised, the fix will be included in our upcoming weekly release which is scheduled to release on May 06, 2025.
Regards,
Preethi R
Hi Lia Tran,
We apologize for the inconvenience caused. After addressing the fix, we encountered some failures in our automation tests. We are currently addressing the issue and will include the fix in our 2025 Vol 2 Service Pack release, which is rolled out on May 14, 2025.
Thank you for your patience and understanding.
Best regards,
Meriton
Hi Lia Tran,
Reported Issue: Independent nodes get overlapped in complex hierarchical tree layout
Feedback Link: https://www.syncfusion.com/feedback/66847/independent-nodes-get-overlapped-in-complex-hierarchical-tree-layout
We are glad to announce that our Essential Studio® 2025 Volume 1 Service Pack Release v29.2.4 is rolled out and is available for download under the following link.
Essential Studio® 2025 Volume ... | Announcements Forums | Syncfusion®
We have fixed the reported issue and included In this release. We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
Root cause: The independent nodes are not considered root nodes due to a condition that requires nodes to have more than zero outgoing edges.
Regards,
Moulidharan
Hi Moulidharan,
Thank you for the update!
Hi Lia Tran,
You are welcome. Please let us know if you require any further assistance on this. We
will be happy to assist you.
Regards,
Preethi R
Hi Preethi,
I’ve recently upgraded from version 28.2 to 29.2, but I’ve noticed that rendering has become extremely slow compared to v28, even though my code remains exactly the same—only the library version has changed.
With just a few dozen interconnected nodes, I sometimes have to wait up to 10 seconds for the render to complete.
I'd like to ask if this is a known issue that has already been reported, or if this might be specific to my case.
Also, do you have any suggestions or best practices to improve rendering performance in version 29.2? I'm open to refactoring or configuration tweaks if that would help reduce the loading time. Thanks again!
Thank you!
Hi,
A new forum has been created for your query. Please follow the link below to track updates and responses.
Forum link - Performance issue in version 29... | React - EJ 2 Forums | Syncfusion®
Regards
Meriton
- 21 Replies
- 4 Participants
- Marked answer
-
LT Lia Tran
- Mar 20, 2025 11:44 PM UTC
- Jun 11, 2025 07:02 AM UTC