title: How to draw social network fast with a lot of data (Visjs, cytoscape, sigma and vivaGraph)?
body: <p>I have to create a social network with a lot of data. I use visJs and the network is very slow.</p>
  
  <p>I tried these plugins: Cytoscape, visJs, Vivagraph and sigma.</p>
  
  <p>Problem for Visjs, cytoscape and sigma</p>
  
  <ul>
  <li>They are very slow</li>
  </ul>
  
  <p>Problem with vivaGraph</p>
  
  <ul>
  <li>I can't render a webglGraph with a svgGraph so I can't have a lot of node and edge and put an arrow on the edge.</li>
  </ul>
  
  <p>Advantage of vivaGraph:</p>
  
  <p>He is really fast because I can render the graph with webGl. But I can't or I don't know how to add graphic with this plugin.</p>
  
  <p>With visjs:</p>
  
  <ul>
  <li>I can initialize the graph quickly because I am able to keep the positions in the database and I can deactivate physics.</li>
  </ul>
  
  <p>The problem is that I cannot make any changes because, when a point is added dynamically, all the other points must be recalculated and it is too long with visJs.</p>
  
  <p>I have and I want something like that (It's done with visJs):
  <a href="https://i.stack.imgur.com/094hF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/094hF.png" alt="All the network"></a>
  <a href="https://i.stack.imgur.com/PXbpq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PXbpq.png" alt="enter image description here"></a>
  I want be able to do that:</p>
  
  <ol>
  <li><p>Modify node and edge color, size, name etc.</p></li>
  <li><p>update and generate the graph quickly with minimum 10 000 nodes.</p></li>
  <li><p>Layout similar to the one I showed (If possible group them by color)</p></li>
  </ol>
  
  <p>So I have two questions:</p>
  
  <ol>
  <li><p>Is there a way to dynamically add quickly with visjs after initialization?</p></li>
  <li><p>how I could generate my graph quickly knowing that I have at least 10,000 nodes?</p></li>
  </ol>
  
  <p>Is there a technique used to generate the graph quickly with a good layout?</p>