Graphically Structured Diffusion Models For Machine