1UNFLATTEN(1) General Commands Manual UNFLATTEN(1)
2
3
4
6 unflatten - adjust directed graphs to improve layout aspect ratio
7
9 unflatten [-f?] [-llen] [-clen ] [ -o outfile ] [ files ]
10
12 unflatten is a preprocessor to dot that is used to improve the aspect
13 ratio of graphs having many leaves or disconnected nodes. The usual
14 layout for such a graph is generally very wide or tall. unflatten
15 inserts invisible edges or adjusts the minlen on edges to improve lay‐
16 out compaction.
17
19 The following options are supported:
20
21 -l len The minimum length of leaf edges is staggered between 1 and len
22 (a small integer).
23
24 -f Enables the staggering of the -l option to fanout nodes whose
25 indegree and outdegree are both 1. This helps with structures
26 such as a -> {w x y z} -> b. This option only works if the -l
27 flag is set.
28
29 -c len Form disconnected nodes into chains of up to len nodes.
30
31 -o outfile
32 causes the output to be written to the specified file; by
33 default, output is written to stdout.
34
35 -? Prints the usage and exits.
36
38 The following operand is supported:
39
40 files Names of files containing 1 or more graphs in dot format. If
41 no files operand is specified, the standard input will be used.
42
44 Stephen C. North <north@research.att.com>
45 Emden R. Gansner <erg@research.att.com>
46
48 gc(1), dot(1), acyclic(1), gvpr(1), gvcolor(1), ccomps(1), tred(1),
49 libgraph(3)
50
51
52
53 21 January 2001 UNFLATTEN(1)