title: Creation of two networks with the same node coordinates
body: <p>I create a network add nodes and edges. I view it (it creates a dot and pdf file automatically). Later, I want to create a second network with the same nodes but different edges. I want to place the nodes in the same coordinates, so that I can make a comparison of both graphs easily. I tried to get the coordinates of the first graph, and tried to set the coordinates of the nodes) but I couldn't find proper functions to do that. I also checked networkx package. I also tried to get a copy of the first network, and delete the edges with no success. Can someone please show me how to create a second network with the same node coordinates?</p>
  <p>This is the simple network creation code</p>
  <pre><code>import graphviz as G
    network1 = G.Digraph(
          graph_attr={...},
          node_attr={...},
          edge_attr={...} )
  
   network.node(&quot;xxx&quot;)
   network.node(&quot;yyy&quot;)
   network.node(&quot;zzz&quot;)
   network.edge(&quot;xxx&quot;, &quot;yyy&quot;)
   network.edge(&quot;yyy&quot;, &quot;zzz&quot;)
   network1.view(file_name)
  </code></pre>