Windows and Linux Output Graphs are Different

The output from neato is not the same in linux and Windows. I prefer the layout generating using the Windows neato since the graph is more compact.

I've attached the dot file ACT.txt, and the SVGs generate by both. In linux land I call neato directly. In Windows I used both gvedit and the commnand line neato and they both generate the same ouput svg.

Linux
=====
/opt/app/graphviz/bin/neato -v
neato - graphviz version 2.38.0 (20140413.2041)
libdir = "/opt/app/graphviz/lib/graphviz"
Activated plugin library: libgvplugin_neato_layout.so.6
Using layout: neato:neato_layout
Activated plugin library: libgvplugin_core.so.6
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
/opt/app/graphviz/lib/graphviz/config6
was successfully loaded.
render : dot fig map pic pov ps svg tk vml xdot
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
textlayout :
device : canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap p
ic plain plain-ext pov ps ps2 svg tk vml xdot xdot1.2 xdot1.4
loadimage : (lib) eps gif jpe jpeg jpg png ps svg

Windows
=======

C:\Program Files (x86)\Graphviz2.38\bin>neato.exe -v
neato - graphviz version 2.38.0 (20140413.2041)
libdir = "C:\Program Files (x86)\Graphviz2.38\bin"
Activated plugin library: gvplugin_neato_layout.dll
Using layout: neato:neato_layout
Activated plugin library: gvplugin_core.dll
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
C:\Program Files (x86)\Graphviz2.38\bin\config6
was successfully loaded.
render : cairo dot fig gd gdiplus map pic pov ps svg tk vml vrml xdot
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
textlayout : textlayout
device : bmp canon cmap cmapx cmapx_np dot emf emfplus eps fig gd gd2
gif gv imap imap_np ismap jpe jpeg jpg metafile pdf pic plain plain-ext png pov
ps ps2 svg svgz tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4
loadimage : (lib) bmp eps gd gd2 gif jpe jpeg jpg png ps svg

Window Command Line:
--------------------
C:\Program Files (x86)\Graphviz2.38\bin>neato.exe -Tsvg V:\EVB\ACT.txt -oV:\EVB\ACT.svg

Linux Command Line:
--------------------
/opt/app/graphviz/bin/neato -Tsvg ACT.gv -oACT.svg

Linux Version: Red Hat Enterprise Linux Server release 5.9 (Tikanga)

ldd /opt/app/graphviz/bin/neato
linux-vdso.so.1 => (0x00007fff3e1fd000)
libgvc.so.6 => /opt/app/graphviz/lib/libgvc.so.6 (0x00002ab0d4201000)
libdl.so.2 => /lib64/libdl.so.2 (0x000000354f800000)
libxdot.so.4 => /opt/app/graphviz/lib/libxdot.so.4 (0x00002ab0d44b7000)
libcgraph.so.6 => /opt/app/graphviz/lib/libcgraph.so.6 (0x00002ab0d46bb000)
libpathplan.so.4 => /opt/app/graphviz/lib/libpathplan.so.4 (0x00002ab0d48d0000)
libm.so.6 => /lib64/libm.so.6 (0x000000354f400000)
libcdt.so.5 => /opt/app/graphviz/lib/libcdt.so.5 (0x00002ab0d4ad9000)
libc.so.6 => /lib64/libc.so.6 (0x000000354f000000)
/lib64/ld-linux-x86-64.so.2 (0x000000354ec00000)

AttachmentSize
ACT_from_Window_neato_svg.txt58.37 KB
ACT.txt6.36 KB
ACT_from_LINUX_neato_svg.txt56.27 KB

Where did you get your Linux

Where did you get your Linux version from? It was built without the prism overlap removal algorithm, so it reverts back to the older Voronoi based algorithm, which can produce noticeably larger output. You need to install or build a version of Graphviz that supports prism. Tthis happens automatically if the GTS library is installed.

Recent comments