Since the 18th century, the Yuyuan Gardens with its traditional red walls and upturned tile roofs has been a marketplace and social center.