1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/dot.md

13 lines
372 B
Markdown
Raw Normal View History

2017-10-29 12:31:21 +01:00
# dot
> A command-line tool to produce layered drawings of directed graphs.
2021-04-17 17:15:37 +02:00
> More information: <https://www.graphviz.org/pdf/dotguide.pdf>.
2017-10-29 12:31:21 +01:00
- 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:
2018-10-28 17:57:08 +01:00
`dot -Tsvg -o {{path/to/out_file.svg}} {{path/to/file.dot}}`