1UNFLATTEN(1)                General Commands Manual               UNFLATTEN(1)
2
3
4

NAME

6       unflatten - adjust directed graphs to improve layout aspect ratio
7

SYNOPSIS

9       unflatten [-f] [-llen] [-clen ] [ -o outfile ] [ files ]
10

DESCRIPTION

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

OPTIONS

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

OPERANDS

36       The following operand is supported:
37
38       files   Names of files containing 1 or more graphs in dot  format.   If
39               no files operand is specified, the standard input will be used.
40

AUTHORS

42       Stephen C. North <north@research.att.com>
43       Emden R. Gansner <erg@research.att.com>
44

SEE ALSO

46       gc(1),  dot(1),  acyclic(1),  gvpr(1),  gvcolor(1), ccomps(1), tred(1),
47       libgraph(3)
48
49
50
51                                21 January 2001                   UNFLATTEN(1)
Impressum