====== Decompositions ====== The output of a software clustering algorithm is either flat decompositions or nested decompositions of software systems. ====== Flat ====== A //flat decomposition// does not contain nested clusters. There is one level of clusters and one level of entities. An example of flat decomposition is shown below. {{:protected:flat_decomposition.png|}} ====== Nested ====== A //nested decomposition// is a decomposition that may contain nested clusters. An example of a nested decomposition is shown below. {{:protected:nested_decomposition.png|}}