title: vis.js - How to resize nodes at runtime
body: <p>I would like to resize nodes of a vis.js network at runtime. My goal is to create a slidercontrol to expand all nodes (an labels) or collapse them. </p>
  
  <p>First, I've tried to manipulate the Scaling values. </p>
  
  <pre><code>var options = {nodes: {scaling: {label: {max: 180 , maxVisible: 180}}}};
  network.setOptions(options); 
  </code></pre>
  
  <p>But there are no results.</p>
  
  <p>My second idea was to manipulate the value of every single node.</p>
  
  <pre><code>function IncNodeSize(Increment) {
      var CurrentNodes = nodesDS.get();
      for (var i = 0; i &lt; CurrentNodes.length; i++) {
          CurrentNodes[i].value = CurrentNodes[i].value + 100;
      }
    }        
  nodesDS.update(CurrentNodes); 
  }
  </code></pre>
  
  <p>But this didn't work either. </p>
  
  <p>Has anyone an idea how to resize nodes at runtime?</p>