diff --git a/web/js/single-file.js b/web/js/single-file.js index a7bbc4be..526de6d6 100644 --- a/web/js/single-file.js +++ b/web/js/single-file.js @@ -19,10 +19,10 @@ dc_graph.load_graph(qs.file || 'data/process.json', function(error, data) { .timeLimit(5000) .width('auto') .height('auto') + .autoZoom('once') .restrictPan(true) .nodeDimension(nodes.dimension).nodeGroup(nodes.group) .edgeDimension(edges.dimension).edgeGroup(edges.group) - .altKeyZoom(true) // aesthetics .nodeFixed(n => n.value.fixedPos) .nodeStrokeWidthAccessor(0) // turn off outlines