tldr/pages/common/acyclic.md

18 lines
551 B
Markdown
Raw Normal View History

# 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>.
- 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 -?`