Contextual Stochastic Block Model: Sharp Thresholds and Contiguity