code: function updateView(node) {
      var font = node.text.font;
      view.setBoldCheckboxState(font.weight === "bold");
      view.setItalicCheckboxState(font.style === "italic");
      view.setUnderlineCheckboxState(font.decoration === "underline");
      view.setLinethroughCheckboxState(font.decoration === "line-through");
      view.setFontColorPickerColor(font.color);
      view.setBranchColorPickerColor(node.branchColor);
    }
docs: Sets the view params to match the node's attributes.
  
  @param {mindmaps.Node} node