Add a graphic of class