Terahertz nonreciprocal and functionality-switchable devices based on dielectric multilayers integrated with graphene and VO2.