Graphviz: How to go from .dot to a graph?

后端 未结 11 1490
傲寒
傲寒 2020-11-27 08:44

I can\'t seem to figure this out. I have a .dot file, which is valid according to the syntax. How do I use graphviz to convert this into an image?

(note that I\'m on

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 09:27

    dot -Tps input.dot > output.eps
    dot -Tpng input.dot > output.png
    

    PostScript output seems always there. I am not sure if dot has PNG output by default. This may depend on how you have built it.

提交回复
热议问题