Extract strongly connected components of one or more directed graphs

sccmap

  • Extract strongly connected components of directed graphs.
    Graphviz filters: `acyclic`, `bcomps`, `comps`, `edgepaint`, `gvcolor`, `gvpack`, `mingle`, `nop`, `sccmap`, `tred`, & `unflatten`.
    More information: <https://www.graphviz.org/pdf/sccmap.1.pdf>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sccmap -S {{path/to/input1.gv}} {{path/to/input2.gv ...}} > {{path/to/output.gv}}

click the source code to copy install sccmap on any operating system with command-not-found.com