My Activation bar does not return in drawing. (sequence Diagram)

0 votes
asked May 12, 2016 in To be sorted by anonymous
Hi

I am trying to generate a sequence diagram, but got stuck since my activation bar does not return:

 

@startuml

title Test 1

C -> A
activate A
A -> A
activate A
A -> A
activate A
A -> A
activate A
A -> B
activate B
activate A
B --> A
deactivate B
A -> A
activate A

deactivate A
deactivate A
deactivate A
A --> C
deactivate A

@enduml

Probably I am doing something wrong

1 Answer

0 votes
answered May 12, 2016 by plantuml (184,600 points)

I am not sure, but one "deactivate A" line may be missing in your example.

In you use:

@startuml
title Test 1

C -> A
activate A
A -> A
activate A
A -> A
activate A
A -> A
activate A
A -> B
activate B
activate A
B --> A
deactivate B
A -> A
activate A

deactivate A
deactivate A
deactivate A
deactivate A
deactivate A
A --> C
deactivate A
@enduml

You'll get:

Is this what you are expecting ?

http://plantuml.com/plantuml/uml/AyaioKbL24ajBb4mvE9oLj2rKt3aIamkoInBB4a5CXt95t52Y3WXIpefw8BLfwGYoMEQWIplI1R74MoHCueW0000

...