Can't create PNG with 36000 nodes
I'm trying to plot a graph to a PNG file. However, after minutes running the script, the resulting PNG file is a big empty 110mb file.
My .dot file that was generated by Graphviz has 36585 lines, and it's in this format:
strict graph "" {
id;
1 -- 61;
1 -- 614;
1 -- 6880;
1 -- 6881;
1 -- 6882;
61 -- 63;
614 -- 616;
614 -- 662;
63 -- 64;
63 -- 92;
62 -- 180;
62 -- 181;
180 -- 391;
181 -- 289;
181 -- 11354;
64 -- 65;
64 -- 961;
92 -- 119;
...
}
How can I plot this graph to a PNG or JPG file? I could plot it to a SVG file, however I need a PNG or JPG file. Any help appreciated.
Thanks!