Skip to content

Commit

Permalink
don't hide pan/zoom under key; zoom once
Browse files Browse the repository at this point in the history
  • Loading branch information
gordonwoodhull committed Dec 18, 2018
1 parent fc0a244 commit 538823a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/js/single-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 538823a

Please sign in to comment.