Print if a graph is acyclic, has a cycle, or is undirected, producing no output graph

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>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

acyclic -v -n {{path/to/input.gv}}

click the source code to copy install acyclic on any operating system with command-not-found.com