graph uses glDrawArrays to draw itself