HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

acyclic — Make a directed graph acyclic by reversing some edges. Graphviz filters: `acyclic`, `bcomps`, `comps

Submitted by: @import:tldr-pages··
0
Viewed 0 times
graphcommandacyclicdirectedclireversingmake

Problem

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

Solution

acyclic — Make a directed graph acyclic by reversing some edges. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, and 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:
acyclic -?

Code Snippets

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

acyclic -?

Context

tldr-pages: common/acyclic

Revisions (0)

No revisions yet.