Add lines to graphs