message to self displayed not per standard immediately before deactivate

+1 vote
asked May 19, 2017 in Bug by boshka (4,060 points)
edited May 19, 2017 by boshka
1. In the example below, the arrow tip in the message to self should be upper the deactivation point (not below the deactivation point). Deactivation point needs to be at least right where the arrow tip points the life line
 
@startuml
 
skinparam style strictuml
 
activate object
object->>object: messageToSelf(parameters)\nreturnValue
deactivate object
 
@enduml
 
 
 
one should be able to specify the call and return value and appropriate (call/return) arrow styles
 

1 Answer

0 votes
answered May 22, 2017 by Serge Wenger Work (16,630 points)

Hello,

For 1. I use the following workaround:

@startuml
skinparam style strictuml
!pragma teoz true
activate object
object->>object: messageToSelf(parameters)\nreturnValue
||0||
deactivate object
@enduml
commented May 22, 2017 by boshka (4,060 points)
!pragma teoz true
breaks my diagrams with Java exception:

https://ibb.co/isV2OF
commented May 22, 2017 by Serge Wenger Work (16,630 points)
If you have teoz issue, please post your code on the forum for the development team. See http://plantuml.sourceforge.net/qa/?qa=6108/layout-problems-in-teoz-engine-divider-and-note-over
...