문제

I have installed Graphviz on Fedora using the recommended procedure described at GraphViz official site. However, I'm not able to convert a basic hello.dot file using dot command.

My hello.dot file is:

graph hello {
    Node1 [label="Hello, World!"]
}

The error is:

$ dot hello.dot -Tpng -o hello.png
Format: "png" not recognized. Use one of:
$
도움이 되었습니까?

해결책

It looks like there is a bug in the official install. After running the command 'dot -c', the problem has been solved.

See here for more details.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top