mirror of https://github.com/CrimsonTome/tldr.git
13 lines
372 B
Markdown
13 lines
372 B
Markdown
# dot
|
|
|
|
> A command-line tool to produce layered drawings of directed graphs.
|
|
> More information: <https://www.graphviz.org/pdf/dotguide.pdf>.
|
|
|
|
- Render an image file and determine output filename based on input filename and selected format:
|
|
|
|
`dot -Tpng -O {{path/to/file.dot}}`
|
|
|
|
- Create an SVG from DOT file:
|
|
|
|
`dot -Tsvg -o {{path/to/out_file.svg}} {{path/to/file.dot}}`
|