title: In the vis javascript library, how do I get the node from its node Id?
body: <p>So I create the nodes like this...</p>
  
  <pre><code>var nodes = new vis.DataSet([
      {id: 1, label: 'Peter'},
      {id: 2, label: 'John'},
      {id: 3, label: 'Sally'},
  ]);
  </code></pre>
  
  <p>then later on in an event handler after clicking on a node I get the id of the node i clicked. How do I get node object from its id? </p>