Precise CAD-like self-adjusting measurement lines/arrows

Is this what you need?