Re: [graphviz-interest] dotty putting everything on one line

"Emden R. Gansner" <[email protected]> Wed, 28 May 2014 13:13:43 -0400
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On 5/28/14, 8:31 AM, folkert wrote:
>> I've created a dotty-file ahttp://keetweej.vanheusden.com/inbox.dot
>> Now when I render it to svg (or png, whatever), it puts every cluster
>> to the right of the other. So all clusters are on one line:
>> http://keetweej.vanheusden.com/inbox4.svg
>> Is it possible to instruct dotty to spread the clusters over the page?
>> Because I now often get an error of either the program displaying it
>> that it is too large to display or dotty simply segfaulting.
> What I would like is that ratio="auto" without size set would create a
> square where it fits everything in, expanding the square where needed,
> preferably with no initial size set.
>
> Tried setting the page-size but then it doesn't move the clusters, it
> only makes them smaller (unreadable).
>
>
> Folkert van Heusden
>
By default, the dot layout places connected components side by side. If 
you have a version of dot
later than 27 March 2014, you can use the pack and packmode attributes 
to specify a different way
of positioning the components. (If you only have an earlier version, you 
can get the same effect by
running

     ccomps -x inbox.dot | dot | gvpack | neato -n2 -Tsvg > inbox.svg

There are flags to the gvpack command that take the place of the pack 
and packmode attributes.)

One small technical point: when you say "dotty", are you referring to 
the dotty viewer or the dot
layout program? In any case, if you are getting a segfault, please 
submit a bug report. Thanks.

     Emden

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest