updated graphical line example