title: vis.js - how to run the getSeed() method
body: <p>I'm using vis.js to create some maps of data. In the documentation it says </p>
  
  <blockquote>
    <p>"Ideally you try with an undefined seed, reload until you are happy
    with the layout and use the <code>getSeed()</code> method to ascertain the seed."</p>
    
    <p>However, for the life of me I can't figure out how to "use the
    <code>getSeed()</code> method".</p>
  </blockquote>
  
  <p>I assume it is a function but everytime I try it I get told </p>
  
  <blockquote>
    <p>"Uncaught ReferenceError: getSeed is not defined"</p>
  </blockquote>
  
  <p>Can someone let me know how to run this. I am sure it is really obvious, but after a day of searching I am none the wiser.</p>
  
  <p>I tried:</p>
  
  <pre><code>getSeed();
  vis.getSeed();
  var seed = getSeed();
  </code></pre>
  
  <p>I also placed this into various places in my script, but to no avail.</p>