Drawing the model graph