anvaka / ngraph.physics.simulator

Physics library for ngraph
MIT License
23 stars 7 forks source link

"centering" force ? #3

Open mhebrard opened 6 years ago

mhebrard commented 6 years ago

I have a disconnected graph. I use forcelayout3D. Currently my different clusters repel each others and move away indefinitely... Of course I need my nodes not to overlap, so repels is needed. But when the clusters are in distinct positions, they should stop to move, no need for the node to run far away... Is there a way to fix that ?