Skip to content

Commit

Permalink
fix: change graph configurations to make it force-directed
Browse files Browse the repository at this point in the history
Signed-off-by: vikhy-aws <191836418+vikhy-aws@users.noreply.github.com>
  • Loading branch information
vikhy-aws committed Jan 30, 2025
1 parent 0cb9554 commit ee78c47
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions public/pages/Correlations/utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ export const graphRenderOptions = {
physics: {
enabled: true,
barnesHut: {
gravitationalConstant: -2000,
centralGravity: 0.2,
springConstant: 0.05,
springLength: 100,
damping: 0.1,
gravitationalConstant: -7000,
centralGravity: 0.9,
springConstant: 0.01,
springLength: 125,
damping: 0.07,
},
stabilization: {
enabled: true,
fit: true,
iterations: 1000,
iterations: 1500,
},
},
interaction: {
Expand Down

0 comments on commit ee78c47

Please sign in to comment.