From dc8b86b15cabde2614ccc9417b2dd9fd549c905b Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 12 Oct 2014 20:54:28 +0300 Subject: #63 don't start force simulation when no topological change done --- scripts/textanalysis-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/textanalysis-ui.js') diff --git a/scripts/textanalysis-ui.js b/scripts/textanalysis-ui.js index d79ceb0a..d3f0f723 100644 --- a/scripts/textanalysis-ui.js +++ b/scripts/textanalysis-ui.js @@ -122,7 +122,7 @@ function changeType(arg, id) { $('.typeselection').html('
' + "Chosen Type: " + nodetypes[typeindex] + '
'); graph.findCoordinates(lastnode,null); } - graph.updateGraph(); + graph.update(true); } if (element.length == 1) { -- cgit v1.3.1