cluster

graph cluster layout tool

TLDR

Generate a cluster layout from a graph
$ cluster [input.dot] -o [output.dot]
Cluster with specific algorithm
$ cluster -C [algorithm] [input.dot]

SYNOPSIS

cluster [options] [files]

DESCRIPTION

cluster is a graph layout tool from the Graphviz package that identifies and highlights clusters (communities or groups) within graph structures. It reads graphs in DOT format and annotates them with cluster information.The tool analyzes the connectivity of a graph to detect natural groupings of nodes. These groupings are then represented as subgraph clusters in the output, which can be further processed by other Graphviz layout engines like dot or neato for visualization.It is part of the Graphviz suite alongside dot, neato, fdp, sfdp, twopi, and circo, each providing different layout algorithms for graph visualization.

INSTALL

sudo apt install graphviz
sudo dnf install graphviz
sudo pacman -S graphviz
sudo apk add graphviz
sudo zypper install graphviz
brew install graphviz
nix profile install nixpkgs#graphviz

SEE ALSO

dot(1), neato(1), graphviz(1)

RESOURCES

Source code · Homepage