diff --git a/client/app/scripts/charts/nodes-chart.js b/client/app/scripts/charts/nodes-chart.js index da979a293..96d3d223f 100644 --- a/client/app/scripts/charts/nodes-chart.js +++ b/client/app/scripts/charts/nodes-chart.js @@ -350,6 +350,10 @@ const NodesChart = React.createClass({ }, restoreLayout: function(state) { + // undo any pan/zooming that might have happened + this.zoom.scale(state.scale); + this.zoom.translate(state.panTranslate); + const nodes = state.nodes.map(node => { return node.merge({ x: node.get('px'),