Re: [graphviz-interest] Need some layouting help

"Emden R. Gansner" <[email protected]> Sat, 30 Nov 2013 10:20:08 -0500
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On 11/29/13 5:01 AM, Tassilo Horn wrote:
> Hi all,
>
> I need some help layouting the attached graph.  I need to put it in a
> paper, so the goal is to have it as compact as possible while still
> being readable.
>
> The twopi and circo layouts are basically ok, but the lengths of the
> edges are not what I want.  With circo, most edges are way too long, and
> with twopi, some are too long while some are too short so that their
> head/tail labels overrun each other or seem to appear on the wrong side.
>
> I've played with various options such as ranksep, but I couldn't get a
> result satisfying me.  Any hints on which options I should have a look
> at are highly appreciated.
>
>
I'd suggest adding a bit more structure to the graph:

     root [style=invis shape=point]
     root ->     {O9f00311     O6c59562f O5d295f3b} [len=1.25 style=invis]

Then try
   twopi -Granksep=1.5:3.3 -Groot=root
or
   neato  -Elen=3.75

You can play with the len and ranksep parameters, and also try combining 
with overlap=false.

Something odd is happening with taillabel and headlabel placement. There 
shouldn't be that much
overlap.

     Emden

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