[Sequence] Lifeline deactivation takes space in diagram

+2 votes
asked Oct 17, 2014 in Wanted features by davidP (300 points)

Hello,

In a sequence diagramm, the deactivation of the lifetime takes space in the flow.

The others messages are shifted down when this command is added previsoulsy.

But it makes no sens to lost space for such command...

example:

@startuml
participant User

activate User
User -> A: DoWork
A-->User: ack
activate A
deactivate user
A->A: Work
A->User: Result
activate User
deactivate A
User -->ack

@enduml

 

in the Above example, switching  "deactivate user" & "A->A: Work" shift A-A: work arrow Up.

That's prove that "deactivate user" takes space.

 

Could it be possble have a more compact behavior?

 

Thanks

Cheers,

David

2 Answers

0 votes
answered Oct 20, 2014 by moishe (260 points)

To actually show what is meant here, the example given should read:

 

@startuml

participant User

activate User
User -> A: DoWork
A-->User: ack
activate A
deactivate User
A->A: Work
A->User: Result
activate User
deactivate A
User -->ack

@enduml
0 votes
answered Jan 7, 2015 by davidP (300 points)
Any analysis?
commented Jan 7, 2015 by plantuml (294,960 points)
Yes.
Sequence Diagram generation needs a deep refactor : many features has been added since last years, and some better design is needed to have a code more flexible.
This rewritting has started, but there is still a lot of work to do.
In between, we are only fixing major bugs, and this one is not seen as a major one (and not easy to fix with current architecture)

So thanks to be patient, and sorry about it!
commented Jan 7, 2015 by davidP (300 points)
No  issue ;)

I just would like to know if my post was reviewed and if it could easily fixed.

Indeed it is not an urgent fix: can wait ...
...