I'm trying to create operation links from a plugin to Process Simulate. So far I'm able to create links between operations in the following manner:
var link = comp.CreateLink(new TxOperationLinkCreationData("link", prev_op, new_op));
But if I have several operations that are branching out from one parent op, then all of the children end up as parallel (Simultaneous) operations. I would like to change them into alternatives from the plugin.
I found a command that seems to fit my description, but I don't understand how to implement it.
If I do figure that part out, I would also like to add starting conditions for the alternatives. Here is a picture from Process Simulate showing the problem.