diff --git a/src/Visualisations/ForceDirectedG.ts b/src/Visualisations/ForceDirectedG.ts index 2edeeff4..c27ab048 100644 --- a/src/Visualisations/ForceDirectedG.ts +++ b/src/Visualisations/ForceDirectedG.ts @@ -61,7 +61,7 @@ export const forceDirectedG = ( "link", d3.forceLink(links).id((d) => d.id) ) - .force("charge", d3.forceManyBody()) + .force("charge", d3.forceManyBody().strength(-6)) .force("center", d3.forceCenter(width / 2, height / 2).strength(0.5)); const drag = (simulation: d3.Simulation) => {