Render DOT graphs live and export SVG.
The Graphviz Editor renders DOT language graphs in the browser. Write DOT source, choose a layout engine, and see the graph update in the preview, then download it as an SVG file.
Graphviz is a graph visualisation toolkit. A graph is described in the DOT language: the keyword graph (undirected) or digraph (directed), then a body of node and edge statements. An undirected edge is written with two dashes, a directed edge with an arrow. Attributes in square brackets set labels, shapes, colours and styles, and graph-level settings such as rankdir choose the direction. You state what is connected and a layout engine decides where everything goes. The dot engine draws layered hierarchies, neato and fdp use force-directed layouts, circo arranges nodes in circles, twopi makes radial layouts, and sfdp is a scalable force-directed engine for large graphs. This editor uses Graphviz compiled to WebAssembly through the @viz-js/viz library, so the layout code is the real Graphviz engine rather than a lookalike.
No. Graphviz runs as WebAssembly in the page and the source is not sent to a server.
The menu shows the list exported by the @viz-js/viz library: circo, dot, fdp, neato, nop, nop1, nop2, osage, patchwork, sfdp and twopi. Until the library finishes loading, the menu shows a default list of dot, neato, circo, fdp, twopi, osage, patchwork and sfdp.
No. This tool only offers Download SVG. The SVG can be opened in a browser or vector editor and exported to PNG from there.
graph is undirected and uses --. digraph is directed and uses ->.
The engine recomputes positions for the whole graph, so adding one node can move others.
Yes. The SVG is passed through DOMPurify with its SVG profile before it is displayed or downloaded.