summaryrefslogtreecommitdiff
path: root/src/client/view/graph_view.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view/graph_view.js')
-rw-r--r--src/client/view/graph_view.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 0f7c1eaf..a55609ad 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -776,9 +776,8 @@ function GraphView(spec) {
if (relayout) {
layout__reset(0.1);
} else {
- // XXX If we are stopped we need to update the text of the links at least,
- // and this is the simplest way
- tick();
+ layout.start().alpha(0.0001);
+ tick(); // this will be called before the end event is triggered by layout completing.
}
} else {
start_layout_animation();