I want to make an interface that will allow you to set a chain of events (namely races) using dependencies. Each race can have a YES/NO case (according to whether such a race took place or not) and no YES/NO cases at all. I attached a screenshot of the logic of such races. It is also worth considering that there can be countless such races. Perhaps someone will have interesting ideas for implementing such a sequence using a clear interface. It can be only for desktop.
Drag and Drop
Drag and dropping graphic representations of the races from a "bin" of the race icons seems intuitive. — Drag a race to the page and drop it. It goes to the top. Drag another race over the race on the page and a couple "hotspots" pop up, one "yes" the other "no". When the new race is dropped on a hotspot it gets added to the chain in the chosen direction. A race can also be dragged off the chain to remove it. Broken links will need to be handled somehow.
Alternatively, a simple form can be used to chain races together.
There's two race select lists with a yes/no radio button pair between them, followed by a "LINK" button.
Select "Race #1", "yes", "Race #7", and click "LINK":
Select "no", "Race #11", and click "LINK":