Graphically Structured Diffusion Models Tutorial