Graphviz Plain
A simple, line-based text format produced by Graphviz (-Tplain / -Tplain-ext) for applications that need only the geometry of a laid-out graph — node positions and sizes plus edge spline control points — rather than fully rendered graphics. Specification.
The output is a sequence of four statement types:
graph scale width height— drawing scale and dimensions, with the lower-left corner at the origin; all coordinates and lengths are unscaled.node name x y width height label style shape color fillcolor— one per node.edge tail head n x₁ y₁ … xₙ yₙ [label xl yl] style color— n control points of the B-spline forming the edge body.stop— marks the end of the output.
The plain-ext variant is identical except that on edges it also records port names on the head and tail nodes, written as nodename:portname. Where a style attribute is absent, solid is used.
Alternative Names: plain
| Feature | Graphviz plain output format |
|---|---|
| Multiple Graphs per Document | |
| Nodes | |
| Hyperedges | |
| Parallel Edges | |
| Self-loops | |
| Edges on Edges | |
| Nested Graphs in Nodes | |
| Nested Graphs in Edges | |
| Nested Graphs in Graphs | |
| Node Labels | |
| Edge Labels | |
| Attributes on Nodes | |
| Attributes on Edges | |
| Attributes on Graphs | |
| Typed Edges | |
Frequently Asked Questions
What is a Graphviz plain output format file?
A Graphviz plain output format file stores a graph — its nodes, edges and attributes — in the Graphviz plain output format format (also: plain). See the feature table above for what it supports.
How do I open a Graphviz plain output format file?
Open it in a graph tool that supports Graphviz plain output format, or convert it to a format your tool reads. With GraphInOut you can convert Graphviz plain output format to GraphML, DOT, Connected JSON and more, right in your browser.
How do I convert a Graphviz plain output format file to another format?
Use the Convert from Graphviz plain output format link above: upload or paste your Graphviz plain output format file (input preset to Graphviz plain output format), choose a target format and download the result — free, no install.