Re: [graphviz-interest] dot2texi cannot handle large graphs
Mohan Ganesalingam <[email protected]> Mon, 24 Feb 2014 16:12:23 +0000
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the reply. Size isn't that much of an issue as I meant to print this at a0. I managed to get something by dumping out the formulae as images before using straight graphviz: http://people.ds.cam.ac.uk/mg262/rad3_imaged_prism.png I couldn't get twopi's normal radial layout algorithm to cope with that (out of memory error), so I was forced to use prism, giving a somewhat nastier result. It is, as you say, pretty incomprehensible, but it illustrates combinatorial explosion reasonably well (which was one aim). Radial (and non-rasterised) would have been even better, but...! best wishes, Mohan On 24.2.2014 14:57, Emden R. Gansner wrote: >> >> Googling suggests that it's very hard to get TeX to deal with >> dimensions this large. But I feel like there must be some workaround >> to make dot2texi Graphviz scale down all the numbers, including the >> font sizes... I'd be very grateful for any advice. There are simple >> solutions to get the size of the drawing reduced, such as setting the >> size and fontsize attributes. This won't do you any good, because your >> graph is > fairly dense and, more importantly, it's very bushy, There are 5 nodes > on level 1, 28 nodes on level 2 and 135 nodes on level 3. You can > stagger the edge lengths to help > some, but you still have long edges crossing levels, adding to the > width. The nodes can be compressed within each rank, and then the > edges can be redrawn using the > available space, but the resulting layout will probably be ugly. Even > if you packed the last level as 13 rows of 10 nodes each, and used a > small font size, that would still > take a lot of room on a page. > > For the record, I have attached a layout using staggered nodes. This > was produced using > > dot graph.gv | gvpr -c -f unflatten | dot > > where I've also attached the gvpr script unflatten. > > Emden _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest