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
2018-10-28 16:57:08 +00:00

11 lines
307 B
Markdown

# dot
> A command-line tool to produce layered drawings of directed graphs.
- 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}}`