added new class c_graphic to factorize c_graph class, a c_graphic will be allocated and will add like a child in c_graph object