add graph generator