Skip to content

Spread out tighly clustered nodes #29

Answered by timangus
bostrt asked this question in Q&A
Discussion options

You must be logged in to vote

There's a few ways you can tackle this. Firstly simply pause the layout (I assume you've already found this). Unfortunately force directed algorithms sometimes get into oscillating states and it's tricky to detect when that happens. Secondly, you could open the layout settings and try adjusting the forces to spread the nodes out a bit and/or reduce volatility. Finally, you might try an edge reduction transform such as k-NN. This is a process that selectively removes edges in such a way that graph structure is (to some extent) maintained. In doing so, hairballs such as this can typically be expanded. Of course, depending on your application, removing edges may not be acceptable, but I thou…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bostrt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants