Open source graph visualization software
open sourceEPL-2.0self-hostablefree
Graphviz is open source graph visualization software. Its layout programs (dot, neato, fdp, sfdp, circo, twopi, osage and patchwork) take descriptions of graphs in the simple DOT text language and draw diagrams as images, SVG, PDF, PostScript and many other formats, with options for colours, fonts, tabular node layouts, line styles, hyperlinks and custom shapes. Graphs are usually generated from other data, so it is widely used for automatic diagrams in software documentation. It also has C libraries, bindings for scripting languages and the gvpr graph stream editor.
Ways to install
Package managers
Problems it solves
- draw a dependency graph automatically from data my script generates
- turn a text description of nodes and edges into an SVG diagram
- generate architecture or call graph diagrams as part of my documentation build
- lay out a big network graph so the edges don't cross into a mess
- render a state machine or workflow as a PNG from plain text in my repo
- keep diagrams in version control as text instead of binary drawing files
- visualise a database schema or object graph without drawing it by hand
- lay out a graph from my C, Python or Ruby program and get coordinates back
- filter or transform a large graph file with a script before drawing it
- draw a family tree or org chart from a list of relationships
Features
- DOT graph description language
- layout engines: dot (hierarchical), neato, fdp, sfdp, circo, twopi, osage, patchwork
- output to SVG, PNG, PDF, PostScript, JSON, WebP, TIFF and many more formats
- colours, fonts, tabular node layouts, line styles, hyperlinks and custom shapes
- gvpr graph stream editor in the spirit of awk and sed
- gvedit viewer and editor
- command-line graph tools such as tred, ccomps, gvpack and unflatten
- C libraries (cgraph, gvc, cdt, pathplan) and scripting APIs for Python, Ruby, Perl, PHP, Java, Tcl and Guile
- layout plugin interface
Limitations
- Not a drag-and-drop diagram editor: Graphviz was not intended to be a Visio replacement3
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Graphviz does.
- Mermaid Generate diagrams and charts from Markdown-like text
- TerraVision Cloud architecture diagrams from a prompt or your Terraform
- Next AI Draw.io Draw and edit draw.io diagrams by chatting with an AI.
- draw.io Security-first diagramming for teams
- MCP Mermaid Generate Mermaid diagrams and charts with AI through MCP
- ChartDB Database diagrams editor that allows you to visualize and design your DB with a single query
