* @param project
*/
static void createAndSimplifyModel(IProject project, final IProjectDependenciesProvider dependenciesProvider) {
IDiagram model;
// Create model.
model = new DiagramModel(project);
final IDiagram modelRef = model;
// Creating the model
IProgressMonitor pm = Job.getJobManager().createProgressGroup();