diff --git a/pages/common/dot.md b/pages/common/dot.md new file mode 100644 index 0000000000..d08b711eac --- /dev/null +++ b/pages/common/dot.md @@ -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}}`