Overlapping nodes in drawing
I was wondering whether anyone used the drawing capabilities and ran into the issue of overlapping nodes after calculating layout in various ways? On the same note, did anyone find a solution for increasing the size of some of the nodes, say based on their degree, and ensuring that they won't then overlap with other nodes? I am trying to find a solution without using the graphviz_draw function. I also have a large network: 7000 nodes and 150000 edges which makes it more difficult to manually manipulate values of position of overlapping nodes. Thanks! -- Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
I had the same issue and couldn't find a solution. So I exported the graph to Gephi and did all visualizations there. But I'd be interested in learning about a GT solution. On Oct 14, 2017 11:54 AM, "ilyco" <io232@cam.ac.uk> wrote:
I was wondering whether anyone used the drawing capabilities and ran into the issue of overlapping nodes after calculating layout in various ways?
On the same note, did anyone find a solution for increasing the size of some of the nodes, say based on their degree, and ensuring that they won't then overlap with other nodes?
I am trying to find a solution without using the graphviz_draw function. I also have a large network: 7000 nodes and 150000 edges which makes it more difficult to manually manipulate values of position of overlapping nodes.
Thanks!
-- Sent from: http://main-discussion-list-for-the-graph-tool-project. 982480.n3.nabble.com/ _______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
On 14.10.2017 19:33, ilyco wrote:
I was wondering whether anyone used the drawing capabilities and ran into the issue of overlapping nodes after calculating layout in various ways?
On the same note, did anyone find a solution for increasing the size of some of the nodes, say based on their degree, and ensuring that they won't then overlap with other nodes?
I am trying to find a solution without using the graphviz_draw function. I also have a large network: 7000 nodes and 150000 edges which makes it more difficult to manually manipulate values of position of overlapping nodes.
Preventing node overlap is not implemented directly in graph-tool, but you can obtain it from graphviz: pos = graphviz_draw(g, vsize=10, overlap=False, output=None) graph_draw(g, pos=pos) -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (3)
-
ilyco -
Reza Shahbazi -
Tiago de Paula Peixoto