title: R visNetwork: Multiple graph layout?
body: <p>I would like to position two visNetwork plots side-by-side for visual comparison. Multi-plot positioning is possible using igraph with par() or layout(). Is there a way to do this for visNetwork? Work-arounds/kludges (including RShiny, etc.) are acceptable answers - whatever works to provide a side-by-side visNetwork display. Note that ID numbers etc. overlap, so putting both networks into the same graph would be a lot of data manipulation that I wish to avoid.</p>
  
  <p>Here is an example of the type of thing I am trying to do.</p>
  
  <pre><code>library(visNetwork)
  
  # Network 1
  nodes1 &lt;- data.frame(id = 1:3)
  edges1 &lt;- data.frame(from = c(1,1), to = c(2,3))
  
  # Network 2
  nodes2 &lt;- data.frame(id = 1:4)
  edges2 &lt;- data.frame(from = c(1,1,2,2), to = c(2,3,4,3))
  
  # Plot both networks side-by-side?
  par(mfrow=c(1,2))  # Want something like this (does not work)
  visNetwork(nodes1, edges1) %&gt;% visEdges(arrows = 'from')  
  visNetwork(nodes2, edges2) %&gt;% visEdges(arrows = 'from')
  </code></pre>
  
  <p>Cheers,
  Tim</p>