Fixed displayGraph.