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.

ccomps path/to/input1.gv path/to/input2.gv ... > path/to/output.gv

ccomps -v -s path/to/input1.gv path/to/input2.gv ...

ccomps -x -o path/to/output.gv path/to/input1.gv path/to/input2.gv ...

ccomps -?