title: Get the coordinates of the nodes of a rendered graph in Sigma.js
body: <p>Is it possible to get the coordinates of nodes of a graph after it's rendered by SigmaJS ? </p>
  
  <pre><code>var sigma = require('sigma');
  var i,
      s,
      N = 100,
      E = 500,
      g = {
          nodes: [],
          edges: []
      };
  
  // Generate a random graph:
  for (i = 0; i &lt; N; i++)
      g.nodes.push({
          id: 'n' + i,
          label: 'Node ' + i,
          x: Math.random(),
          y: Math.random(),
          size: Math.random(),
          color: '#666'
      });
  
  for (i = 0; i &lt; E; i++)
      g.edges.push({
          id: 'e' + i,
          source: 'n' + (Math.random() * N | 0),
          target: 'n' + (Math.random() * N | 0),
          size: Math.random(),
          color: '#ccc'
      });
  sigma.renderers.def = sigma.renderers.canvas;
  // Instantiate sigma:
  s = new sigma({
      graph: g,
      container: document.getElementById('sigma-container'),
      type: 'canvas'
  });
  </code></pre>
  
  <p>I want to get the real coordinates (<code>x</code>s and <code>y</code>s) of the nodes in this graph.
  (After force atlas 2 is applied on it)</p>