Diffusion of innovation in large scale graphs: a mean field analysis