code: function setAttr(attr, val){
          svgCanvas.changeSelectedAttribute(attr, val);
          S.call("changed", selElems);
      }
docs: /*
  function toggleSourceButtons(on){
  $('#tool_source_save, #tool_source_cancel').toggle(!on);
  $('#polygon_save, #polygon_cancel').toggle(on);
  }