Lines on the graphs