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

unflatten — Adjust directed graphs to improve the layout aspect ratio. Graphviz filters: `acyclic`, `bcomps`, `c

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

Problem

How to use the unflatten command: Adjust directed graphs to improve the layout aspect ratio. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, and unflatten. More information: <https://www.graphviz.org/pdf/unflatten.1.pdf>.

Solution

unflatten — Adjust directed graphs to improve the layout aspect ratio. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, and unflatten. More information: <https://www.graphviz.org/pdf/unflatten.1.pdf>.

Adjust one or more directed graphs to improve the layout aspect ratio:
unflatten {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}


Use unflatten as a preprocessor for dot layout to improve aspect ratio:
unflatten {{path/to/input.gv}} | dot -T {{png}} {{path/to/output.png}}


Display help:
unflatten -?

Code Snippets

Adjust one or more directed graphs to improve the layout aspect ratio

unflatten {{path/to/input1.gv path/to/input2.gv ...}} > {{path/to/output.gv}}

Use `unflatten` as a preprocessor for `dot` layout to improve aspect ratio

unflatten {{path/to/input.gv}} | dot -T {{png}} {{path/to/output.png}}

Display help

unflatten -?

Context

tldr-pages: common/unflatten

Revisions (0)

No revisions yet.