add lines to graph