Debian Codegraph @

cmd/tools/sccmap.1

raw
1 .TH SCCMAP 1 "21 March 2001"
2 .SH NAME
3 sccmap \- extract strongly connected components of directed graphs
4 .SH SYNOPSIS
5 \fBsccmap\fR
6 [\fB\-dsSv\fR]
7 [
8 .BI \-o outfile
9 ]
10 [
11 .I files
12 ]
13 .SH DESCRIPTION
14 .I sccmap
15 decomposes digraphs into strongly connected components
16 and an auxiliary map of the relationship between components.
17 In this map, each component is collapsed into a node.
18 The resulting graphs are printed to standard out.
19 The number of nodes, edges and strongly connected components
20 are printed to standard error.
21 .B sccmap
22 is a way of partitioning large graphs into more manageable pieces.
23 .SH OPTIONS
24 The following options are supported:
25 .TP
26 .B \-d
27 Preserve degenerate components of only one node.
28 .TP
29 .B \-s
30 Do not print the resulting graphs. Only the statistics are
31 important.
32 .TP
33 .B \-S
34 Just print the resulting graphs. No statistics are printed.
35 .TP
36 .BI \-o "output"
37 Prints output to the file \fIoutput\fP. If not given, \fBsccmap\fP
38 uses stdout.
39 .TP
40 .B \-v
41 Generate additional statistics. In particular,
42 .B sccmap
43 prints the number of nodes, edges, connected components,
44 and strongly connected components, followed by the fraction of
45 nodes in a non-trivial strongly connected components,
46 the maximum degree of the graph, and fraction of non-tree edges
47 in the graph.
48 .SH OPERANDS
49 The following operand is supported:
50 .TP 8
51 .I files
52 Names of files containing 1 or more graphs in dot format.
53 If no
54 .I files
55 operand is specified,
56 the standard input will be used.
57 .SH "DIAGNOSTICS"
58 \fBsccmap\fP emits a warning if it encounters an undirected graph,
59 and ignores it.
60 .SH AUTHORS
61 Stephen C. North <[email protected]>
62 .br
63 Emden R. Gansner <[email protected]>
64 .SH "SEE ALSO"
65 gc(1), dot(1), acyclic(1), gvpr(1), gvcolor(1), ccomps(1), tred(1), libgraph(3)