Modeling heterogeneity in random graphs through latent space models: a selective review