# Graphviz

13 Hacker News commenters recommended Graphviz and 8 criticized it, November 2025 to November 2026. It was recommended in 6 of 13 months.

**Verdict:** Free graph layout software that people trust for automatic diagram layout; the most common caveat is that the layout engine decides where things go.

## Why people recommend it

- Produces better layouts than alternatives (2 comments): "nothing else seems to produce layouts nearly as good as dot" ([source](https://news.ycombinator.com/item?id=49744642)) "Graphviz/dot is good for this" ([source](https://news.ycombinator.com/item?id=48181607))
- Text-based diagrams that AI models handle well (3 comments): "I went with text-based graph description languages and haven't looked back" ([source](https://news.ycombinator.com/item?id=49748278)) "claude code is a lot better at graphviz than mermaid" ([source](https://news.ycombinator.com/item?id=45817567)) "I'd heavily bet that the model's performance, and goals of the developer, would in fact be better served by using a framework like GraphViz built for the job" ([source](https://news.ycombinator.com/item?id=46925020))
- Mature tool built for diagrams (2 comments): "existing, mature ones designed for humans" ([source](https://news.ycombinator.com/item?id=48837452)) "I'd heavily bet that the model's performance, and goals of the developer, would in fact be better served by using a framework like GraphViz built for the job" ([source](https://news.ycombinator.com/item?id=46925020))

## What people warn about

- Hard to control element positions (4 comments): "ended up always back to something like Draw.io, because I couldn't get things positioned how I wanted" ([source](https://news.ycombinator.com/item?id=49863184)) "Always struggle with Graphviz tweaking my carefully planned positions." ([source](https://news.ycombinator.com/item?id=49863069)) "with .dot, the layout engine decides where things go" ([source](https://news.ycombinator.com/item?id=49860253))
- Poor layouts for large graphs (3 comments): "none of the layout engine are very good, they essentially apply the same algorithm to all the things" ([source](https://news.ycombinator.com/item?id=49745923)) "The syntax is pedantic and the resulting output is pretty ugly for all but the simplest graphs." ([source](https://news.ycombinator.com/item?id=49743585)) "you're still essentially stuck with graphviz prerendering for large enough graphs" ([source](https://news.ycombinator.com/item?id=46709598))
- Mainly designed for static diagrams (2 comments): "those tools are mainly built to render static diagrams" ([source](https://news.ycombinator.com/item?id=49853265)) "Both suck at being any good for rendering diagrams from readable structured text." ([source](https://news.ycombinator.com/item?id=48841000))

## Alternatives hackers recommend

- [Mermaid](https://hackerapproved.com/p/mermaid.md): 93 recommend
- [Reladraw](https://hackerapproved.com/p/reladraw.md): 28 recommend
- [SQL to ER diagram tool](https://hackerapproved.com/p/free-sql-to-er-diagram-tool.md): 27 recommend
- [D2 diagram language](https://hackerapproved.com/p/d2.md): 21 recommend
- [PlantUML](https://hackerapproved.com/p/plantuml.md): 16 recommend

## Cite as

Hacker Approved, "Graphviz", https://hackerapproved.com/p/graphviz/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
