add graph classes