Photo-responsive linear and cross-linked supramolecular polymers based on host–guest interactions