Graph models with MCMC