summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-05-03 19:32:59 +0300
committerAlon Levy <alon@pobox.com>2015-05-03 19:38:27 +0300
commit13f791a8f5b41ba3998b977054cfe7e613f9d82e (patch)
treec095988c572d989136c2c4c783d2134c25ed617f /src/client
parent24fd00868d018435dfcd77a665ee2ef824ef5fdb (diff)
client/graph_view: export layout (debugging only)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/view/graph_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js
index 3d2cf5f7..817dc465 100644
--- a/src/client/view/graph_view.js
+++ b/src/client/view/graph_view.js
@@ -1332,6 +1332,7 @@ function GraphView(spec) {
.restore()
.zen_mode(zen_mode)
.start();
+ gv.layout = layout;
}
set_layout(temporary ? view_layouts.empty(graph) : layouts[0]);