Apply GL_LINES to draw graph