diff options
| author | Alon Levy <alon@pobox.com> | 2014-09-30 13:35:31 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-09-30 13:35:31 +0300 |
| commit | 7fb21031929b65c2405046de09618fce9d4ba4b3 (patch) | |
| tree | 3f9083120174432402df4feab391d06541767020 /scripts | |
| parent | 5c5f9a8cfe3edd6f1df31ab00885e58e4a36bfd1 (diff) | |
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.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rhizicore.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |
