From 7fb21031929b65c2405046de09618fce9d4ba4b3 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 30 Sep 2014 13:35:31 +0300 Subject: Revert "Fix #63 - don't move graph on click (possible side effects?)" This reverts commit 5c5f9a8cfe3edd6f1df31ab00885e58e4a36bfd1. reopen #63 this fix causes regressions - the update function does two things: 1. updates link & node graphical representation 2. causes the force layout to reposition links and edges (using tick to selectively do that) I need to change #2 without affecting #1. --- scripts/rhizicore.js | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 4649098b..ca1265fa 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -905,6 +905,7 @@ function mousedown() { $('.editlinkinfo').css('left', 0); graph.removeHighlight(); $('.info').fadeOut(300); + graph.update(); } function AddedUnique(newnode) { -- cgit v1.3.1