Login
Remember
Register
PlantUML Q&A
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
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
2. Also, per
http://www.tracemodeler.com/articles/a_quick_introduction_to_uml_sequence_diagrams/
one should be able to specify the call and return value and appropriate (call/return) arrow styles
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail]
(--------)
To avoid this verification in future, please
log in
or
register
.
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
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or
register
.
Related questions
Deactivate not correct if last message is a message to itself
Sequence diagram: is it possible to put message text next to (not above) a self-message?
Sequence Diagram: Message to Self Vs.Lifeline
Choose on which side messages to self are displayed
Simplier way to deactivate lifeline without return message
All categories
Question / help
(1,711)
Bug
(1,761)
Wanted features
(1,480)
Closed question / help
(89)
Closed bug
(53)
Closed feature request
(130)
Won't fix
(3)
Won't implement
(14)
Can't help
(10)
To be deleted
(10)
To be sorted
(431)
...