Add feature to draw dashed lines