Circular DAG

Hello together,

I have a rather interesting use-case, and I was curious if this is at all possible, or if I need to find a different approach.

I’m building a pipeline-based app. Simplified, something like this:

A -> B -> C -> D

In some cases, the user will inspect the output at stage C, and may decide it is important to go back so, and modify some parameters:

A -> B -> C -> D
^         |
|<--------|

Is such a “circular” workflow possible? I know that branching workflows linearly forward is possible, but being able to iteratively circle back leads to a recession depth error.

Any hints would be great!
Cheers,
Paul