macOS / binaries /

gc

/usr/local/bin/gc
Count graph components

gc is a graph analogue to wc in that it prints to standard output the number of nodes, edges, connected components or clusters contained in the input files. It also prints a total count for all graphs if more than one graph is given.