bcomps

Decompose graphs into their biconnected components. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://graphviz.org/pdf/bcomps.1.pdf>.

Install

All systems
curl cmd.cat/bcomps.sh
Debian Debian
apt-get install graphviz
Ubuntu
apt-get install graphviz
Alpine
apk add graphviz
Arch Arch Linux
pacman -S graphviz
image/svg+xml Kali Linux
apt-get install graphviz
CentOS
yum install graphviz
Fedora
dnf install graphviz
Windows (WSL2)
sudo apt-get update sudo apt-get install graphviz
OS X
brew install graphviz
Raspbian
apt-get install graphviz
Docker
docker run cmd.cat/bcomps bcomps powered by Commando

Decompose graphs into their biconnected components. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://graphviz.org/pdf/bcomps.1.pdf>.

  • Decompose one or more graphs into their biconnected components:
    bcomps path/to/input1.gv path/to/input2.gv ... > path/to/output.gv
  • Print the number of blocks and cutvertices in one or more graphs:
    bcomps -v -s path/to/input1.gv path/to/input2.gv ...
  • Write each block and block-cutvertex tree to multiple numbered filenames based on `output.gv`:
    bcomps -x -o path/to/output.gv path/to/input1.gv path/to/input2.gv ...
  • Display help for `bcomps`:
    bcomps -?

© tl;dr; authors and contributors