framework for diffusion network