Properties
You can modify the line style (segment, line, line with an arrow, rectangle), the color, the thickness, and the after image in the Properties window which will be displayed.
In the case of the rectangle, also indicate a color of interior part.
To show a label on the segment, input it in the text box and select the position at the right part of text box.