a model of a diagram