Discrete models of complex systems: Recent trends and analytical challenges