Combinatorial rigidity of graphs embedded in $\mathbb{R}^2$