summaryrefslogtreecommitdiff
path: root/scripts/textanalysis-ui.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-12 20:54:28 +0300
committerAlon Levy <alon@pobox.com>2014-10-12 20:54:28 +0300
commitdc8b86b15cabde2614ccc9417b2dd9fd549c905b (patch)
tree377161649fff47e5c10b155c8e5c9515828a4791 /scripts/textanalysis-ui.js
parent082d90e68a81f05c35f009bfdb2a8d131778af4b (diff)
#63 don't start force simulation when no topological change done
Diffstat (limited to 'scripts/textanalysis-ui.js')
-rw-r--r--scripts/textanalysis-ui.js2
1 files changed, 1 insertions, 1 deletions
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('<table><tr><td style="height:28px"></td></tr><tr><td>' + "Chosen Type: " + nodetypes[typeindex] + '</td></tr></table>');
graph.findCoordinates(lastnode,null);
}
- graph.updateGraph();
+ graph.update(true);
}
if (element.length == 1) {