create a graph generator - Search