Hello,
Assume following sequence diagram:
A->B: Hi
activate B
alt
B->A: Hello
deactivate B
else
B->A: Hi
deactivate B
end
You'll notice B remains deactivated (without a lifeline) after the else statement. There is no way to restore the lifeline at that point in the diagram as the activate keyword applies to the last message even if it is in different alt/else box.
I think the else keyword should restore the lifelines to the same state they were at the point alt keyword was used (including multiple lifelines belonging to a single participant). Or perhaps there should be some modifier/option available to the alt/else keywords to achieve the same. Would you agree?
Best regards,
Daniel