title: Transfer layout from networkx to cytoscape
body: <p>I want to use networkx to generate a layout for a graph. Is it possible to transfer this layout to <a href="http://www.cytoscape.org/" rel="noreferrer">cytoscape</a> and draw it there? I tried to simply write a graph as</p>
  
  <pre><code>import networkx as nx
  G = nx.Graph()
  G.add_edge(0,1,weight=.1)
  G.add_edge(2,1,weight=.2)
  nx.write_gml(G,'g.gml')
  nx.write_graphml(G,'g.xml')
  </code></pre>
  
  <p>But neither of these is read in cytoscape. I am not sure how to transfer the graph in a format that can include positions.</p>