generating graphs for ranker tests