add arrow on the segment of path