In this talk we will give a more in depth discussion of the analogy between right-angled Artin groups and mapping class groups, through the comparison of the geometry of the extension graph and the curve complex.