mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:22:07 +02:00
dot: add page (#1578)
This commit is contained in:
parent
59de62110c
commit
ab857845b2
1 changed files with 11 additions and 0 deletions
11
pages/common/dot.md
Normal file
11
pages/common/dot.md
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue