Make graphs toggable in collections