1. A method including: receiving a specification of multiple contexts that are related according to a hierarchy; determining relationships among three or more metadata objects; grouping at least some of the metadata objects into one or more respective groups, each of at least some of the groups being based on a selected one of the contexts and being represented by a node in a diagram; determining relationships among the nodes based on the relationships among the metadata objects in the groups represented by the nodes; and generating a visual representation of the diagram including the nodes and the relationships among the nodes.