You can modify a segment using the mouse.
There are three different ways to modify a segment:
The editing is automatic after the creation. You can also edit the primitive by clicking Edit in the Object panel.