ccomps
Decompose graphs into their connected components. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://graphviz.org/pdf/ccomps.1.pdf>.
Install
- All systems
-
curl cmd.cat/ccomps.sh
- Debian
-
apt-get install graphviz
- Ubuntu
-
apt-get install graphviz
- Alpine
-
apk add graphviz
- Arch Linux
-
pacman -S graphviz
- 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
- Dockerfile
- dockerfile.run/ccomps
- Docker
-
docker run cmd.cat/ccomps ccomps
powered by Commando
Decompose graphs into their connected components. Graphviz filters: acyclic, bcomps, comps, edgepaint, gvcolor, gvpack, mingle, nop, sccmap, tred, & unflatten. More information: <https://graphviz.org/pdf/ccomps.1.pdf>.
-
Decompose one or more graphs into their connected components:
ccomps path/to/input1.gv path/to/input2.gv ... > path/to/output.gv
-
Print the number of nodes, edges, and connected components in one or more graphs:
ccomps -v -s path/to/input1.gv path/to/input2.gv ...
-
Write each connected component to numbered filenames based on `output.gv`:
ccomps -x -o path/to/output.gv path/to/input1.gv path/to/input2.gv ...
-
Display help for `ccomps`:
ccomps -?
© tl;dr; authors and contributors