Likbjorn / tag-cloud

Frontend representation for cloud of linked tags
MIT License
0 stars 0 forks source link

Links and nodes may create "knots" on start #22

Open Likbjorn opened 4 years ago

Likbjorn commented 4 years ago

Links and nodes may create "knots" on start, therefore links can't be seen and tied nodes are too close.

Possible solution: play some ticks on init without animating them to get stationary solution (see d3.simulation.tick). While calculating, disable collisions and links, enforce repelling force. Then apply default force layout and enable real-time simulation.