SCCMAP(1) General Commands Manual SCCMAP(1)

# [NAME](#NAME)

sccmap - extract strongly connected components of directed graphs

# [SYNOPSIS](#SYNOPSIS)

**sccmap** \[**-dsSv**] \[ **-ooutfile** ] \[ *files* ]

# [DESCRIPTION](#DESCRIPTION)

*sccmap* decomposes digraphs into strongly connected components and an auxiliary map of the relationship between components. In this map, each component is collapsed into a node. The resulting graphs are printed to standard out. The number of nodes, edges and strongly connected components are printed to standard error. **sccmap** is a way of partitioning large graphs into more manageable pieces.

# [OPTIONS](#OPTIONS)

The following options are supported:

[**-d**](#d)

Preserve degenerate components of only one node.

[**-s**](#s)

Do not print the resulting graphs. Only the statistics are important.

[**-S**](#S)

Just print the resulting graphs. No statistics are printed.

[**-ooutput**](#o)

Prints output to the file *output*. If not given, **sccmap** uses stdout.

[**-v**](#v)

Generate additional statistics. In particular, **sccmap** prints the number of nodes, edges, connected components, and strongly connected components, followed by the fraction of nodes in a non-trivial strongly connected components, the maximum degree of the graph, and fraction of non-tree edges in the graph.

# [OPERANDS](#OPERANDS)

The following operand is supported:

[*files*](#files)

Names of files containing 1 or more graphs in dot format. If no *files* operand is specified, the standard input will be used.

# [DIAGNOSTICS](#DIAGNOSTICS)

**sccmap** emits a warning if it encounters an undirected graph, and ignores it.

# [AUTHORS](#AUTHORS)

Stephen C. North &lt;north@research.att.com&gt;  
Emden R. Gansner &lt;erg@research.att.com&gt;

# [SEE ALSO](#SEE_ALSO)

[gc(1)](/man/os/graphviz/gc.1), [dot(1)](/man/os/graphviz/dot.1), [acyclic(1)](/man/os/graphviz/acyclic.1), [gvpr(1)](/man/os/graphviz/gvpr.1), [gvcolor(1)](/man/os/graphviz/gvcolor.1), [ccomps(1)](/man/os/graphviz/ccomps.1), [tred(1)](/man/os/graphviz/tred.1), [libgraph(3)](/man/os/graphviz/libgraph.3)

21 March 2001

---

Document: sccmap(1) from graphviz 16.1.0-r0 (Chainguard OS)
Source: https://gitlab.com/graphviz/graphviz
