I am trying to run the following dot command from the command line:
dot -v ~/Documents/FlowGraph/dot_sample_1_full.dot -Tpng 'Documents/FlowGraph/sampleOutput.png' -Ksfdp -Goverlap=false
but it does not work with this output:
dot - graphviz version 2.36.0 (20140111.2315) Using render: cairo:cairo Using device: png:cairo:cairo libdir = "/usr/local/lib/graphviz" Activated plugin library: libgvplugin_neato_layout.6.dylib Using layout: sfdp:neato_layout The plugin configuration file: /usr/local/lib/graphviz/config6 was successfully loaded. render : cairo dot fig map pic pov ps quartz svg tk vml xdot layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi textlayout : textlayout device : bmp canon cgimage cmap cmapx cmapx_np dot eps exr fig gif gv icns ico imap imap_np ismap jp2 jpe jpeg jpg pct pdf pic pict plain plain-ext png pov ps ps2 psd sgi svg svgz tga tif tiff tk vml vmlz x11 xdot xdot1.2 xdot1.4 xlib loadimage : (lib) bmp eps gif jpe jpeg jpg pdf png ps svg fontname: "Times-Roman" resolved to: (ps:pango Times, REGULAR) (PangoCairoCoreTextFont) "Times" margin 8 pack info: mode node size 0 flags 0 ctrl->overlap=-1 Error: remove_overlap: Graphviz not built with triangulation library
I have Googled and found this thread that suggested:
gts needs to be installed before graphics, so type 'sudo brew remove graphviz' to remove graphivz and 'sudo brew install gts' and 'sudo install graphivz' to install graphivz with gts.
but that didn't seem to work. I am still getting an error, so either I did not do it right or it was not a solution for me.
How to add a triangulation library to graphviz?
command-line homebrew graphviz dot
bkbeachlabs
source share