| Graphviz | |
|---|---|
| Software | |
| Stable distribution checked | Windows 16.1.0 · November 8, 2026 |
| Windows packages | Distinguish 32/64-bit EXE and ZIP |
| Other operating systems | Linux packages · Mac package managers and other options |
| Terms | Open source · EPL 2.0 |
| Basic command | dot · Automatic layout of directed graphs |
| Source and result | DOT text · SVG image |
Choose an official stable Windows package
Use the homepage button to open the official download page and find Windows → Stable Windows install packages. On November 8, 2026, the first stable distribution in that list is 16.1.0. Distinguish it from Development entries and source-code archives.
| Package | When to choose it |
|---|---|
| 64-bit EXE installer | Ordinary installation on 64-bit Windows |
| 32-bit EXE installer | When you need an installer for a 32-bit environment |
| ZIP archive | When you will extract and manage the program and library folders yourself |
This guide covers a first DOT task on Windows. On Linux or a Mac, follow the appropriate OS route on the same official page. Mac package managers and Linux distribution packages use different installation methods from a Windows EXE.
Check the dot command after installation
If the Windows installer offers PATH options, check Add Graphviz to the system PATH for current user. PATH tells the system where to find executables by name from any folder. Do not assume that extracting a ZIP automatically registers Graphviz’s bin folder.
After installation, open a new terminal and enter the following command. Do not prepend an example prompt such as $ or >.
dot -V
Version information means that the current terminal found dot. Uppercase -V checks the version and differs from lowercase -v. This is not yet the result of rendering your graph.
If the command is not found, check for dot.exe in the actual installation’s bin folder and inspect its PATH registration. With multiple versions installed, check that you are invoking the expected one. Start with the official package and installation location; do not download DLLs or replacement executables from arbitrary sites.
Write relationships in a DOT source file
Enter this three-stage relationship example in a text editor. Use plain text rather than a word processor’s formatted text.
digraph FirstGraph {
draft [label="Draft"];
check [label="Review"];
done [label="Done"];
draft -> check;
check -> done;
}
draft, check and done are node identifiers; label supplies the visible text. digraph means a directed graph, and -> connects the first node to the second. This example requests two arrows, Draft → Review → Done, matching the Korean source’s stages. It does not guarantee identical positions or fonts on every PC.
Save the file as first-graph.dot in a working folder using UTF-8. In Windows Explorer, check the actual extension so that it is not first-graph.dot.txt. Keep the ordinary double quotes " in the code rather than smart quotes such as “ ”.
Generate an SVG in the same folder
Set the terminal’s current working folder to the folder containing your DOT file. Run this command there.
dot -Tsvg first-graph.dot -o first-graph.svg
-Tsvg selects SVG output; the name after -o is the result file. Keep input and output names distinct. If an SVG with that name already exists, preserve a copy first. Enclose each input or output path in double quotes if it contains spaces.
| File | What to keep |
|---|---|
first-graph.dot | Code for editing nodes, arrows and visible labels |
first-graph.svg | An image to inspect in a browser or document and share |
No terminal output is not sufficient proof of success. Check that the SVG exists in the specified folder and inspect any error messages. For an input-file error, compare the current folder, filename and actual extension. For a syntax error, first check braces, quotes and ->.
Open the SVG and check connections and text
Open the resulting SVG in a browser or another supported program. Confirm three nodes and two connections, Draft → Review → Done, including the arrow directions and labels. Zoom in to inspect clipping and overlapping text too.
If Korean labels are garbled, distinguish UTF-8 source encoding from availability of a suitable Korean font. If needed, use fontname to select a font installed on that PC. Fonts in the recipient’s SVG-viewing environment can also affect display, so reopen it in the actual submission environment.
To change relationships, edit the DOT and regenerate the image. An SVG editor such as Inkscape can edit the result separately, but those changes do not automatically synchronize with the DOT. If dragging shapes directly is a better fit, see draw.io’s flowchart workflow.
Official sources
- Official downloads, Stable Windows packages and OS-specific routes ↗
- Official command line, -V, -T and -o ↗
- Official DOT language, digraph and UTF-8 ↗
- Official SVG output ↗
- Official Windows installation, PATH and reopening the terminal ↗
- Graphviz 16.1.0 installer configuration and PATH options ↗
- Official font FAQ and SVG display conditions ↗
- Official EPL 2.0 license ↗
