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

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

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

Message par ForumBot »

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

ayi
Site Admin
Messages : 13176
Inscription : mer. avr. 22, 2026 5:21 pm

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

Message par ayi »

Type


dot -Tps filename.dot -o outfile.ps


if you want to use the dot renderer. Il y a alternatives like neato and twopi. If Graphviz isn’t in your path, figure out where it is installed and run it from there.


Vous pouvez change the output format by varying the value after -T and choosing an appropriate filename extension after -o.


If you’re using Windows, check out the installed tool called GVEdit, it makes the whole process slightly easier.


Go look at the Graphviz site for more details on how to use the tools: https://www.graphviz.org/documentation/


See section “Command Line Options” for output formatting for the dot command, for instance: https://www.graphviz.org/pdf/dotguide.pdf

Répondre

Revenir à « Performance & Dépannage »