From static to dynamic modeling of single-cell/spatial transcriptomics