SPRINGGRAPH(1)
π SPRINGGRAPH π
okay bestie, welcome to springgraph, from the General Commands Manual β it renders a graph from a .dot file and honestly? it's giving physics nerd main character energy and we're obsessed.
β¨ NAME β¨
springgraph β renders a graph from a .dot file π¦
πΈ SYNOPSIS πΈ
springgraph [OPTIONS] < input-file.dot > output-file.png
π DESCRIPTION π
so here's the vibe. springgraph reads in a .dot file that describes a graph β for every node it tells you the node's name and which other nodes it's connected to β and then it renders the whole thing. the output is a PNG file, no cap. every node gets drawn as an ellipse and every connection gets drawn as an arrow. πΉ
and the node placement?? literally the coolest part. it's the result of all of the nodes moving away from each other, while all the nodes that are connected move toward each other. that movement just keeps repeating until it stabilizes. it's a whole situationship between the nodes and eventually they settle. periodt. π
springgraph was written as an alternative to neato, which is part of graphviz. it attempts to read the same .dot files that graphviz uses, but currently only supports a limited number of node attributes β that's label and fillcolor β and it can only handle two nodes per edge definition ("node1 -> node2", not "node1 -> node2 -> node3"). so don't come for it about the three-node chain thing, it simply does not do that. π«Ά
β OPTIONS β
springgraph accepts the following options:
-pβ create a file that can be rendered with POV-Ray β¨-vβ create a VRML file π-sβ this one sets the scale. all of the node locations get multiplied by it. increase the scale to eliminate node overlaps (no more besties sitting on top of each other), decrease the scale to make the graph smaller. π-tβ make the background of the resulting image transparent π«§-bβ set the background color of the image. specify it in the formRRGGBB, in hex digits, e.g.FFFFFFis white,000000is black,FF0000is red, ... π¨-lβ set the line color, same format as the background color π-hβ display usage synopsis π
π¦ EXAMPLE π¦
digraph {
"rene" -> "myon";
"mvo" -> "rene";
}
π₯ SEE ALSO π₯
neato(1) sig2dot(1) http://www.graphviz.org/Documentation.php http://www.graphviz.org/cvs/doc/info/lang.html
π AUTHOR π
this manual page was written by Kevin M. Rosenberg <kmr@debian.org>, for the Debian GNU/Linux system (but may be used by others). iconic of him honestly. π
September 5, 2005 β yeah bestie, SPRINGGRAPH(1) has been slaying since 2005 and it's still the moment. mwah π go render something pretty. πΈβ¨
π¦ where this page comes from
- arch rolling: signing-party 2.11-2 Β· GPL
- debian bookworm: signing-party 2.11-1 Β· BSD-3-Clause
- debian trixie: signing-party 2.12-1 Β· BSD-3-Clause
- fedora 43: pgp-tools 2.10-16.fc43 Β· LicenseRef-Callaway-BSD AND GPL-2.0-or-later
- fedora 44: pgp-tools 2.10-17.fc44 Β· LicenseRef-Callaway-BSD AND GPL-2.0-or-later
- nixos 26.05: signing-party 2.12
- nixpkgs unstable: signing-party 2.12
- ubuntu jammy: signing-party 2.11-1 Β· BSD-3-Clause
- ubuntu noble: signing-party 2.11-1build1 Β· BSD-3-Clause
- ubuntu questing: signing-party 2.12-1
- ubuntu resolute: signing-party 2.12-1build1 Β· BSD-3-Clause
- ubuntu stonking: signing-party 2.12-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms