force-graph
force-graph copied to clipboard
How to avoid collisions of nodes.
Hello,
I have a graph with several nodes. Until the graph is renderes some nodes are overlapping eachother. How to avoid this overlapping?
Regards Chris
@ChristophKind you can add a collision force to separate the nodes apart, a bit like in this example: https://github.com/vasturiano/force-graph/blob/a25a47ed21be07f1fdf24a833e7bb27967df065a/example/collision-detection/index.html#L34