generate points in main graph