<a href="https://en.wikipedia.org/wiki/Discrete_Morse_theory">Discrete Morse theory</a> has been developed into a thriving subject by Robin Forman and others.