Graph-theoretic estimation of reconfigurability in origami-based metamaterials