netjsongraph.js icon indicating copy to clipboard operation
netjsongraph.js copied to clipboard

[change] Prevent overlapping of clusters

Open totallynotvaishnav opened this issue 3 years ago • 1 comments

When using clustering with clusteringAttribute, the clusters of different categories with the same location are overlapped. We should find a way to prevent this behavior.

194559721-affc036d-35b2-4b38-b45e-9d52899ec3ab

totallynotvaishnav avatar Oct 25 '22 12:10 totallynotvaishnav

@nemesifier , I am working over this, found a fix by introducing a random offset between -0.00005 and 0.00005. It's a trade-off between preserving the exact original data and improving the visualization.

Here it is pull/239

itsOmSarraf avatar Feb 22 '24 22:02 itsOmSarraf