InDesign
Drawing
Applying line (stroke) settings
Set strokes
Stroke panel options
Add start and end shapes
Define custom stroke styles
Save custom stroke styles
Apply corner effects
This page on the Web