updated the code to separate drawing an arrow in the image vs drawing an arrow using the graph