closed Vertical rendering between activate / deactivate

0 votes
asked Jan 25, 2017 in Bug by vanrein (140 points)
closed Jan 25, 2017 by vanrein
Hello,

 

I like PlantUML for its commandline rendering.  I use it for Message Sequence Charts.  The graphical style seems to contain a bug, however:

The vertical bars between activate/deactivate start too high and end too high.  The start appears to be aligned with the previous message, so that they stick through ==headers== which is ugly and not necessary.  They also touch a prior arrow, which doesn't improve clarity.  At the bottom, they seem to stop a little above the arrow that ends them, which isn't accurate and also doesn't look as good as it could.

 

Source and rendering demonstrating the problems:

 

https://raw.githubusercontent.com/arpa2/identityhub-design/9a8e88fb0d942539fa07e506a525e3bd23851d66/alias-add.seq

https://raw.githubusercontent.com/arpa2/identityhub-design/9a8e88fb0d942539fa07e506a525e3bd23851d66/alias-add.png

 

 

Thanks,

 -Rick
closed with the note: Problem solved

1 Answer

0 votes
answered Jan 25, 2017 by plantuml (298,440 points)

You should try to put the "activate" line after the message, like in:

@startuml
participant User
participant Authn

activate User
User -> Control: Alias Add user+ali@domain
activate Control

Control -> Authn: SecureLayer @domain
activate Authn
Authn -> Control: RemoteID user@domain
deactivate Authn
@enduml


http://www.plantuml.com/plantuml/uml/POzB2W8n38RtFKNsCXUOXRJeHd2bU83G1YRGnz2cWhUtqncHqSsVaFnV7he8Pgd1gxb5jZnZ57WKohk2gJ95fT0AFr5eDIm2mn5EAKfEVWJZ6GiOvw2srW4zQvS2Slo2crUfBLduFdo4EzcQwOglDlMFMm_ekbjvev24BkU-yKCv-k4qHTT-V0C0


Does it work better for you this way ?
 

commented Jan 25, 2017 by vanrein (140 points)
Much better, thank you!

Sorry if I missed that in the manual.
...