pref win on generating the graph