Created graphGenerator.