tldr/pages/common/dot.md

12 lines
307 B
Markdown
Raw Normal View History

2017-10-29 14:31:21 +03:00
# 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:
2018-10-28 19:57:08 +03:00
`dot -Tsvg -o {{path/to/out_file.svg}} {{path/to/file.dot}}`