Graphviz point does not work on OS X Yosemite

I have a point file that I want to convert to psor png. Graphviz is installed with brewon OS X Yosemite. However, dotit cannot convert with the following output:

Borkdude@macbookair-michiel /tmp $ dot -Tps foo.dot -o foo.ps
Format: "ps" not recognized. Use one of:

Where to look further?

+4
source share
2 answers

TL DR

Since this problem is most likely caused by an unsuccessful upgrade or installation, the easiest solution is to completely uninstall and then install Graphviz.

Long version

Check supported formats

The first thing to do is to see which formats support the dots . Following the instructions in the manual, this is achieved by running:

dot -T?

-

Format: "?" not recognized. Use one of: 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 xdot 
xdot1.2 xdot1.4

ps .

, config ( /usr/local/Cellar/graphviz/2.38.0/lib/graphviz/config6).

, grep ps, , . , .

, dot -c, .

, Graphviz Forum .

+5

,

  • graphviz brew remove graphviz
  • macports
  • sudo port -v selfupdate sudo port install graphviz-gui
0

Source: https://habr.com/ru/post/1619623/


All Articles