BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
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