Emergence of Riemannian manifolds from graphs and aspects of Chern-Simons theory