src/js/Navigator.js
function renderView() {
    // draw canvas
    var scale = docSize.x / canvasSize.x;
    view.draw(mindmap, scale);
  }
function renderView() {
    // draw canvas
    var scale = docSize.x / canvasSize.x;
    view.draw(mindmap, scale);
  }
function renderView ( ) { // draw canvas
 var scale = docSize . x / canvasSize . x ; view . draw ( mindmap , scale ) ; }
Update the canvas of the view component.
Update the canvas of the view component .