Wrap last widget drawing in docs in a function
Draw lines widget in docs