I am trying to create vectorized figures of some of the network layouts i've done with graph-tools.draw() command. The network i'm trying to draw is about 6000 nodes (i've attached an example layout below), and unfortunately when i try and create a PDF output its about 35mb, which is too large to use. What i've ended up doing is making a PNG and playing with the resolution until it is acceptable for the size figure I need. But i am wondering if there is a way to have PDF's of larger network layouts with out the file size ballooning up? Thanks for suggestions. <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/n4027232/large_network.png> -- View this message in context: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... Sent from the Main discussion list for the graph-tool project mailing list archive at Nabble.com.
On 28.05.2017 19:08, william_h277 wrote:
I am trying to create vectorized figures of some of the network layouts i've done with graph-tools.draw() command. The network i'm trying to draw is about 6000 nodes (i've attached an example layout below), and unfortunately when i try and create a PDF output its about 35mb, which is too large to use. What i've ended up doing is making a PNG and playing with the resolution until it is acceptable for the size figure I need.
But i am wondering if there is a way to have PDF's of larger network layouts with out the file size ballooning up?
You may try passing the options edge_sloppy=True, edge_seamless=False to graph_draw(), which should produce small draw artifacts that are probably not visible for a graph of this size, but should be faster and produce smaller files. -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Tiago de Paula Peixoto -
william_h277