Sequential function charts and alternative branch

Hello,
I try to draw programitcally an alternative branch on a diagram based on your example : GoJS/sequentialFunction.html at master · NorthwoodsSoftware/GoJS · GitHub

The new alternative branch is added on the left of the main branch. This is not compatible with the norme. How can I specify that the add of alternative branches (and parrallel branches) have to be done on the right of the main branch.
Thanks in advance !
Sandra

alternative branch official description:
https://help.codesys.com/api-content/2/codesys/3.5.14.0/en/_cds_sfc_element_branch/#c317893f3898eecc0a8640e01598875-id-ed021e944e79abcac0a8640e00338087

Do you just mean adding “Transition” nodes in the graph? Perhaps like:

{ "class": "go.GraphLinksModel",
  "nodeDataArray": [
{"key":"S3", "category":"step", "text":"Step 3"},
{"key":"T4", "category":"transition", "text":"Transition 4"},
{"key":"T41", "category":"transition", "text":"Transition 41"},
{"key":"S32", "category":"step", "text":"Step32" },
{"key":"T42", "category":"transition", "text":"Transition 42"},
{"key":"S4", "category":"step", "text":"Step 4"}
 ],
  "linkDataArray": [
{"from":"S3", "to":"T4"},
{"from":"T4", "to":"S4"},
{"from":"S3", "to":"T41"},
{"from":"T41", "to":"S32"},
{"from":"S32", "to":"T42"},
{"from":"T42", "to":"S4"}
 ]}

No I mean a ‘parallel’ like node.

But that CODESYS document does not show a separate node for Alternate branches. Whereas for Parallel branches there is a horizontal bar that is a node.

So I still do not understand what you want.