acyclic

Make a directed graph acyclic by reversing some edges. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://graphviz.org/pdf/acyclic.1.pdf>.

Install

All systems
curl cmd.cat/acyclic.sh
Debian Debian
apt-get install graphviz
Ubuntu
apt-get install graphviz
Alpine
apk add graphviz
Arch Arch Linux
pacman -S graphviz
image/svg+xml Kali Linux
apt-get install graphviz
CentOS
yum install graphviz
Fedora
dnf install graphviz
Windows (WSL2)
sudo apt-get update sudo apt-get install graphviz
OS X
brew install graphviz
Raspbian
apt-get install graphviz
Docker
docker run cmd.cat/acyclic acyclic powered by Commando

Make a directed graph acyclic by reversing some edges. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://graphviz.org/pdf/acyclic.1.pdf>.

  • Make a directed graph acyclic by reversing some edges:
    acyclic path/to/input.gv > path/to/output.gv
  • Print if a graph is acyclic, has a cycle, or is undirected, producing no output graph:
    acyclic -v -n path/to/input.gv
  • Display help for `acyclic`:
    acyclic -?

© tl;dr; authors and contributors