ACYCLIC(1)
β¨ ACYCLIC(1) β the acyclic manual, bestie π
Okay so the manual name is acyclic π , and its whole job is to make a directed graph acyclic π¦. Like, no loops allowed in your graph, periodt π.
π NAME
acyclic - make directed graph acyclic β¨
πΈ SYNOPSIS
acyclic [ -nv? ] [ -o outfile ] [ file ]
π«Ά DESCRIPTION
Okay so acyclic is a filter π§ that takes a directed graph as input and spits out a copy of that graph with just enough edges reversed to make it acyclic. It's giving main character energy π. The reversed edge inherits all of the attributes from the original edge, so nothing gets lost in the glow-up β¨.
The optional file argument tells it where the input graph lives π. If you don't give it one, the program reads from stdin by default π.
π OPTIONS
The following options are supported π :
-nβ No output gets produced π, but the return value will tell you whether the graph is acyclic or not π₯.-vβ Prints info about whether the file is acyclic, has a cycle, or is undirected π.-o outfileβ Sends the output to the specified file π. By default, the output goes tostdout.-?β Prints usage information π (ngl, this one's the "help me bestie" option).
π¦ RETURN CODES
acyclic returns:
0if the graph is acyclic β¨1if the graph has a cycle π2if the graph is undirected πΈ255if there are any errors π
π BUGS
Okay this is the tea β: if the graph is strict and there's a cycle of length 2, the attributes of the reversed edge get lost. Not slay π.
Some edge attributes are non-symmetric, meaning they refer to either the head or tail node. Right now there's no mechanism or convention for switching or renaming these correctly π, so, lowkey a known problem π« .
π§ AUTHORS
- Stephen C. North
<north@research.att.com>π - Emden R. Gansner
<erg@research.att.com>π
π SEE ALSO
gc(1), dot(1), gvpr(1), gvcolor(1), ccomps(1), sccmap(1), tred(1), libgraph(3) π«Ά
Bestie, that's the whole manual, and it was written in March 2001 πβ¨. Stay iconic, and go make some graphs that don't loop back on themselves π π¦
π¦ where this page comes from
- alpine 3.22: graphviz-doc 12.2.1-r0 Β· EPL-1.0
- alpine 3.23: graphviz-doc 12.2.1-r0 Β· EPL-1.0
- alpine 3.24: graphviz-doc 12.2.1-r3 Β· EPL-1.0
- arch rolling: graphviz 16.1.0-2 Β· EPL
- centos-stream 10: graphviz 9.0.0-15.el10 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- centos-stream 9: graphviz 2.44.0-26.el9 Β· EPL-1.0
- centos-stream 9: graphviz 2.44.0-26.el9 Β· EPL-1.0
- debian bookworm: graphviz 2.42.2-7+deb12u1 Β· EPL-1.0
- debian trixie: graphviz 2.42.4-3 Β· EPL-1.0
- fedora 43: graphviz 13.1.1-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz 13.1.1-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz 13.1.2-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 43: graphviz 13.1.2-3.fc43 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.2-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.2-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.4-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- fedora 44: graphviz 14.1.4-2.fc44 Β· epl-1.0 AND cpl-1.0 AND bsd-3-clause AND mit AND gpl-3.0-or-later WITH bison-exception-2.2 AND apache-1.1 AND lgpl-2.0-or-later WITH libtool-exception AND smlnj AND hpnd-uc
- nixos 26.05: graphviz 12.2.1
- nixpkgs unstable: graphviz 15.1.1
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: graphviz 12.2.1-160000.1.1 Β· EPL-1.0
- ubuntu jammy: graphviz 2.42.2-6 Β· EPL-1.0
- ubuntu jammy: graphviz 2.42.2-6ubuntu0.1 Β· EPL-1.0
- ubuntu noble: graphviz 2.42.2-9build1 Β· EPL-1.0
- ubuntu noble: graphviz 2.42.2-9ubuntu0.1 Β· EPL-1.0
- ubuntu questing: graphviz 2.42.4-3build2
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms