1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 16:15:34 +02:00
tldr/pages/common/unflatten.md
Managor d2e6da7679
common*: refresh old pages part 7 (#16290)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-01 14:38:45 +03:00

17 lines
617 B
Markdown

# unflatten
> Adjust directed graphs to improve the layout aspect ratio.
> Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `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 -?`