From 30be2715980c9e288e953ef21efdf9a3f23c5b71 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Thu, 21 May 2020 17:30:59 +0300 Subject: [PATCH] Map jitter fix --- .../monkey_island/cc/ui/src/components/map/MapOptions.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/ui/src/components/map/MapOptions.js b/monkey/monkey_island/cc/ui/src/components/map/MapOptions.js index 742d061f4..e09e93124 100644 --- a/monkey/monkey_island/cc/ui/src/components/map/MapOptions.js +++ b/monkey/monkey_island/cc/ui/src/components/map/MapOptions.js @@ -41,9 +41,12 @@ export const basic_options = { physics: { barnesHut: { gravitationalConstant: -120000, - avoidOverlap: 0.5 + avoidOverlap: 0.5, + springLength: 100, + springConstant: 0.025 }, - minVelocity: 0.75 + minVelocity: 0.3, + maxVelocity: 25 } };