Remove the render_diagram and diagram_examples functions