I would like to automatically, not hard code increment numbers on certain steps using PlantUML.
I have the following code:
group Step: incrementOnlyLeftToRight
autonumber
Left -> Right ++: needToIncrementAuto
Right --> Left : noNeed
Left -> Right ++: needToIncrementAutoAgain
Right --> Left : noNeedAgain
end
Where you can see I am using the autonumber
construct.
This, unfortunately, increases the number for everything (please see screenshot)
How to tell autonumber to increment only for when Left goes to Right, but not the opposite?