force-graph
force-graph copied to clipboard
Cross over of links (edges) in dag mode
Describe the bug When in dag mode., links that connects one node to another, crossover or overlap on each other, I am using forcecollide and nodes are far and separate from each other. however links overlap or cross over, I even tried making warmupTicks to 1000 and played around with cooldownticks as well. Nothing helped
To Reproduce Steps to reproduce the behavior: Set the graph to load in dag mode ex: dagmode('td'), and links cross over if there are more number of nodes.
Expected behavior Links should not cross over
Screenshots
Desktop (please complete the following information):
- Browser [e.g. chrome]
Try messing around with the link forces, you will want that to be stronger to get the links to pull the nodes the links connect closer to eachother. The nodes are locked on the y-axis so they will try to move below the source node.
https://github.com/vasturiano/d3-force-3d#forceLink
Hello @karthik-krishna , did you find a solution for this issue? I'm having the same problem.