Integrate diagram into tutorial.html.