I need to draw a segment from a point A(x,y) to a point B(x’,y’) .
And I need to mark this segment with an arrow pointing from A to B.
Preferably, the arrow should be in the middle of the segment.
I don’t know how to do this?
Would you have any suggestion?