| 1 |
.TH TRED 1 "21 March 2001" |
| 2 |
.SH NAME |
| 3 |
tred \- transitive reduction filter for directed graphs |
| 4 |
.SH SYNOPSIS |
| 5 |
.B tred |
| 6 |
[ |
| 7 |
.B \-ovr? |
| 8 |
] |
| 9 |
[ |
| 10 |
.I files |
| 11 |
] |
| 12 |
.SH DESCRIPTION |
| 13 |
.B tred |
| 14 |
computes the transitive reduction of directed graphs, |
| 15 |
and prints the resulting graphs to a file or standard output. |
| 16 |
This removes edges implied by transitivity. |
| 17 |
Nodes and subgraphs are not otherwise affected. |
| 18 |
The ``meaning'' and validity of the reduced graphs |
| 19 |
is application dependent. |
| 20 |
.B tred |
| 21 |
is particularly useful as a preprocessor to |
| 22 |
.I dot |
| 23 |
to reduce clutter in dense layouts. |
| 24 |
.PP |
| 25 |
Undirected graphs are silently ignored. |
| 26 |
.SH OPTIONS |
| 27 |
The following options are supported: |
| 28 |
.TP |
| 29 |
.B \-o FILE |
| 30 |
Redirect output to the given file. By default, output goes to stdout. |
| 31 |
.TP |
| 32 |
.B \-v |
| 33 |
Verbose output to stderr. |
| 34 |
.TP |
| 35 |
.B \-r |
| 36 |
Print information of removed edges to stderr. |
| 37 |
.TP |
| 38 |
.B \-? |
| 39 |
Print usage information. |
| 40 |
.SH OPERANDS |
| 41 |
The following operand is supported: |
| 42 |
.TP 8 |
| 43 |
.I files |
| 44 |
Names of files containing 1 or more graphs in dot format. |
| 45 |
If no |
| 46 |
.I files |
| 47 |
operand is specified, |
| 48 |
the standard input will be used. |
| 49 |
.SH "BUGS" |
| 50 |
Using bitmaps internally would substantially decrease running time. |
| 51 |
.SH "DIAGNOSTICS" |
| 52 |
If a graph has cycles, its transitive reduction is not uniquely defined. |
| 53 |
In this case \fItred\fP emits a warning. |
| 54 |
.SH AUTHORS |
| 55 |
Stephen C. North <[email protected]> |
| 56 |
.br |
| 57 |
Emden R. Gansner <[email protected]> |
| 58 |
.SH "SEE ALSO" |
| 59 |
gc(1), dot(1), acyclic(1), gvpr(1), gvcolor(1), ccomps(1), sccmap(1), libgraph(3) |