diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-25 10:03:16 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-03-25 10:04:07 +0200 |
| commit | cf907134bb5a07e2a8eecce4207f61f85a3453e9 (patch) | |
| tree | 5982bfe33b3541fa39660546b371bfdd195122e6 /src/client | |
| parent | 79c2edd797c491a1bfb4597a9e8e89ca49d7030b (diff) | |
Revert "client/view/graph_view: force recalculation of linkDistance on each force__load_graph"
Dor: I have to say it's less usable now with the nodes moving after
every click... I suggest to quickly fix it or revert.
This reverts commit 4218f8fdf7c47ce8b8baa8f6fd2b95f1d93f358a.
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/view/graph_view.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 4fd5f2c4..f01a56b1 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -577,8 +577,7 @@ function GraphView(spec) { function force__load_graph() { force.nodes(graph.nodes().filter(node__is_shown)) - .links(graph.links().filter(link__is_shown)) - .start(); + .links(graph.links().filter(link__is_shown)); } function segment_in_segment(inner_low, inner_high, outer_low, outer_high) |
