Computational graphs have to be DAGs. But I’m not sure I understand how your example would end up with something different. Can you elaborate a bit on that? What do you mean by “plate”?
Maybe this notebook about ODEs in pymc helps you: https://docs.pymc.io/notebooks/ODE_parameter_estimation.html