In my project I have these steps:
1. Personal Info
2. Address Info
7. Lumpsum Payment
I am creating a XML to define sequence of the above steps. Basically the sequence is pretty simple with 2 tags: source tag defines the step where I am currently at and target tag defines the step where I should be next.
For example the below XML defines the sequence to go from Personal Info step to next step; and from Address Info step to next step: