src/js/Inspector.js
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);
  }
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);
  }
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 ) ; }
Sets the view params to match the node's attributes.

@param {mindmaps.Node} node
Sets the view params to match the node s attributes .