Rendered image not the same as the one posted in the Gallery

Hi,

I tried to render the graph http://www.graphviz.org/content/root from the Gallery
with the command that was specified.
The resulting image does not look at all as how it is shown there,
and it has just very small dots with no edges between them (see attachment root.png).

Also the running time is about 1 minute, and it is specified it should take a couple of seconds.

It is important to make this graph work, as i will have to deal with similar graphs in size and look. I have attached below the command line used and it s output (on Ubuntu 11.04).
Any help will be appreciated.

Thanks!

Command line
sfdp -v -Gsize=67! -Goverlap=prism -Tpng root.dot > root.png

sfdp - graphviz version 2.26.3 (20100126.1600)
Activated plugin library: libgvplugin_pango.so.6
Using textlayout: textlayout:cairo
Activated plugin library: libgvplugin_neato_layout.so.6
Using layout: sfdp:neato_layout
Using render: cairo:cairo
Using device: png:cairo:cairo
The plugin configuration file:
/usr/lib/graphviz/config6
was successfully loaded.
render : cairo dot fig gd map ps svg tk vml vrml xdot
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
textlayout : textlayout
device : canon cmap cmapx cmapx_np dot eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg pdf plain plain-ext png ps ps2 svg svgz tk vml vmlz vrml wbmp x11 xdot xlib
loadimage : (lib) eps gd gd2 gif jpe jpeg jpg png ps svg
fontname: "Times-Roman" resolved to: (ps:pango Times Roman,) (PangoCairoFcFont) "DejaVu Sans 14"
coarsest level -- 11, n = 5
iter = 500, step = 0.012419 Fnorm = 0.050154 nsuper = 0 nz = 12 K = 0.465353 level -- 10, n = 7
iter = 44, step = 0.000970 Fnorm = 0.007076 nsuper = 0 nz = 20 K = 0.349015 level -- 9, n = 10
iter = 44, step = 0.000970 Fnorm = 0.014714 nsuper = 0 nz = 32 K = 0.261761 level -- 8, n = 15
iter = 44, step = 0.000970 Fnorm = 0.043096 nsuper = 0 nz = 50 K = 0.196321 level -- 7, n = 21
iter = 44, step = 0.000970 Fnorm = 0.035784 nsuper = 0 nz = 70 K = 0.147241 level -- 6, n = 31
iter = 44, step = 0.000970 Fnorm = 0.058897 nsuper = 0 nz = 98 K = 0.110431 level -- 5, n = 50
iter = 44, step = 0.000970 Fnorm = 0.197539 qt_level = 15 nsuper = 12 nz = 142 K = 0.082823 level -- 4, n = 93
iter = 44, step = 0.000970 Fnorm = 0.442258 qt_level = 16 nsuper = 15 nz = 228 K = 0.062117 level -- 3, n = 170
iter = 44, step = 0.000970 Fnorm = 0.635193 qt_level = 17 nsuper = 17 nz = 388 K = 0.046588 level -- 2, n = 349
iter = 44, step = 0.000970 Fnorm = 1.953872 qt_level = 12 nsuper = 21 nz = 752 K = 0.034941 level -- 1, n = 655
iter = 44, step = 0.000970 Fnorm = 4.416436 qt_level = 9 nsuper = 23 nz = 1364 K = 0.026206 level -- 0, n = 1054
iter = 44, step = 0.000970 Fnorm = 7.658093 qt_level = 16 nsuper = 25 nz = 2166 K = 0.019654 sfdp: overlap=-1 scaling -4.00
Adjusting G_component_0 using Voronoi
Node separation: add=1 (4.000000,4.000000)
Number of iterations = 2077
Number of increases = 114
Edge separation: add=1 (3.200000,3.200000)
Creating edges using line segments
Using render: cairo:cairo
Using device: png:cairo:cairo
sfdp: allocating a 109972K cairo image surface (6432 x 4377 pixels)

AttachmentSize
root.png93.21 KB

Rendered image not the same

The problem is that you are not getting overlap=prism but overlap=voronoi (see the trace above). This is probably due to not having either the GTS or Triangle library, which is necessary for prism. In this case, the 2.26 version of graphviz will just fall into the equivalent of overlap=false, which employs the Voronoi technique. (In the most recent vesion, Graphviz uses prism if overlap=false (if available) and reports if you ask for a known but unsupported overlap value.)
Check in config.h for #define HAVE_TRIANGLE or #define HAVE_GTS. If at least one of these is not there, you will need to install one of them, and then rerun configure and make. If you do have one of these, please file a bug report so we can pursue this offline. Thanks.

Recent comments