Improve the quality of the rendered diagrams