graph generator