KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to use networkx to generate a layout for a graph. Is it possible to transfer this layout to cytoscape and draw it there? I tried to simply write a graph as 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') But neither of these is read in cytoscape. I am not sure how to transfer the graph in a format that can include positions.
Tags (comma-separated)
Save Edits
Cancel