title: Why does networkx redraw my graph different each run?
body: <p>I'd like to draw a graph with edges representing correlation coefficients between nodes. I have an edge for each unique relationship. The graph is different every time I rerun the following code. Is there a way to force one form of the graph? Also, not sure if this is even generating the graph correctly - please help with anything that looks wrong.</p>
  
  <pre><code>G = nx.Graph()
  G.add_edge('A', 'B', weight=0.511012)
  G.add_edge('A', 'C', weight=0.553063)
  G.add_edge('A', 'D', weight=0.607859)
  G.add_edge('A', 'E', weight=0.601554)
  G.add_edge('A', 'F', weight=0.641796)
  
  G.add_edge('B', 'C', weight=0.438743)
  G.add_edge('B', 'D', weight=0.463087)
  G.add_edge('B', 'E', weight=0.615150)
  G.add_edge('B', 'F', weight=0.478853)
  
  G.add_edge('C', 'D', weight=0.553063)
  G.add_edge('C', 'E', weight=0.438743)
  G.add_edge('C', 'F', weight=0.541893)
  
  G.add_edge('D', 'E', weight=0.535331)
  G.add_edge('D', 'F', weight=0.556995)
  
  G.add_edge('E', 'F', weight=0.535446)
  
  nx.draw(G, with_labels=True, node_color='orange', node_size=400, edge_color='black', linewidths=1, font_size=15)
  plt.show()
  </code></pre>