bcomps
Decompose graphs into biconnected components
TLDR
SYNOPSIS
bcomps [-stvx?] [-o outfile] [files]
DESCRIPTION
bcomps decomposes graphs into their biconnected components, printing the components to standard output. A biconnected component is a maximal subgraph that remains connected after removal of any single vertex.The tool is part of the Graphviz graph visualization suite and works with DOT language graph files.
PARAMETERS
-s
Silent mode; no output graph printed (implies -v)-t
Print the underlying block-cutvertex tree-v
Print number of blocks and cutvertices-x
Print each biconnected component as separate root graph-o outfile
Write each root graph to different file derived from outfile-?
Display help information
OUTPUT FORMAT
By default, each input graph is printed with blocks as subgraphs. Subgraph names concatenate the input graph name, "bcc", and the block number.When both -o and -x are used, each block is written to a separate file. If outfile does not have a suffix, the nth block of the ith graph is written to outfileni (the 0th block of the 0th graph is written to outfile itself). If outfile has a suffix (e.g., base.sfx), the files follow the same pattern with .sfx appended. Block-cutvertex trees are written to outfilenT.
RETURN VALUES
0
All input graphs are biconnectednon-zero
Any graph has multiple blocks or an error occurred
CAVEATS
Input files must be in Graphviz DOT format. The tool identifies articulation points (cutvertices) that separate components. Large graphs may require significant processing time.
