A review of lattice type model in fracture mechanics: theory, applications, and perspectives