diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-12 20:54:28 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-12 20:54:28 +0300 |
| commit | dc8b86b15cabde2614ccc9417b2dd9fd549c905b (patch) | |
| tree | 377161649fff47e5c10b155c8e5c9515828a4791 /scripts/textanalysis-ui.js | |
| parent | 082d90e68a81f05c35f009bfdb2a8d131778af4b (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.js | 2 |
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) { |
