Dolphin
Dolphin

Reputation: 39095

why graphviz dot can not open a dot file?

I am compiling a dot file to a jpg using dot program about graphviz.This is my command:

dot a.dot -o 1.ps

The out put error is:

Error: dot: can't open a.dot

This is my dot file(a.dot) content:

digraph abc{
  a;
  b; 
  a -> b; 
}

I have tried:

dot -Tjpg -Gdpi=331 a.dot -o a.jpg
dot -Tps a.dot -o a.ps

Why would this happen? How to fix?

OS:Windows 7 X64

dot version: dot - graphviz version 2.38.0 (20140413.2041)

Upvotes: 3

Views: 4970

Answers (1)

IamSVP
IamSVP

Reputation: 17

try it

dot -Tpng "a.dot" -o "a.png"

Upvotes: 1

Related Questions