Open orbeckst opened 8 years ago
@iwelland – can you help? Didn't you fix something in the xgml exporter?
Hi,
There are several strategies to visualize hop networks.
A.layout() normally calls the 'neato' layout. These look much nicer than Cytoscape even for large graphs. You can change the layout and I think each layout has various nice properties.
With your hopgraph, use h.write_tcl(filename='your_filename'). You can tweak the color of the edges and nodes, the size of the nodes, and also select subsets of nodes to highlight with a different color. There are some unfinished tools which try to color by weight but they don't produce very clear results.
To use cytoscape, you need to use the import tool. Then you need to change the layout of the graph, since otherwise it will 'helpfully' stack all the nodes on top of each other.
Best, Ian
Many thanks @ianWelland. Edithe will test your suggestions and will come back with comments ASAP.
Any updates?
via @iorga:
How can we visualize the network encoded by the file hopgraph.xgmml ? I tried with Cytoscape, it recognizes the columns etc, but the drawing shows only one big rectangle.
I also installed graphviz, but I'm not sure about how to use the modules, like "dot" for example. Is it correct to type
The result is :
Or do I have to format the xgmml file into a specific format ?