Drawing path on graph