Text this: Dirac's theorem and the switch geometry of perfect matchings