title: How to plot networkx graph with holoviews/bokeh with same location of nodes and edges?
body: <p>I want to plot a graph generated with networkx using holoview and bokeh. Networkx runs an optimization of the graph, it seems as part of the drawing. When I feed the graph to holoviews the graph looks quite different. I am not sure what happens. I guess, the edge weights are not properly transferred, or the optimization is not carried out. (Code for jupyter notebook).</p>
  
  <pre><code>%pylab inline
  
  import pandas as pd
  import networkx as nx
  import holoviews as hv
  
  hv.extension('bokeh')
  np.random.seed(111)
  G=nx.Graph()
  ndxs = [1,2,3,4]
  G.add_nodes_from(ndxs)
  G.add_weighted_edges_from([(1,2,0), (1,3,1), 
                             (1,4,-1), (2,4,1),
                             (2,3,-1), (3,4,10)])
  nx.draw(G)
  # or you set the random_state for the spring layout
  # to make sure the figure is reproducible
  nx.draw(G, nx.spring_layout(G, random_state=100))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/3AKbO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3AKbO.png" alt="asdf"></a></p>
  
  <pre><code>hv.extension('bokeh')
  %opts Graph [width=400 height=400]
  padding = dict(x=(-1.1, 1.1), y=(-1.1, 1.1))
  hv.Graph.from_networkx(G, nx.layout.circular_layout).redim.range(**padding)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/XeAKJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XeAKJ.png" alt="enter image description here"></a></p>
  
  <p>How can the location of the nodes be conserved when plotting with holoviews/bokeh? </p>