EndPoint definition of line vs. curve segments

Curve segments with arrow ends have their nodes inside of the arrow
triangle while line segments have them at the tip of the
arrow. Converting a line segment into a curve segment will thus
rearrange the segment erroneously.