propagationGraph algorithm add