message to itself on left side?

+2 votes
asked Oct 28, 2013 in Wanted features by alveko (140 points)
A simple message to itself can be created like this:
A --> A: message text
 
By default, the arrow is placed on the right side.
Is there any way to create a message to itself on the left side?
 
Thanks!
 

1 Answer

0 votes
answered May 14 by mapo.job (140 points)

I totally agree, this is missing...

It can be something simple like this:

A |->A: message text.

Or global configuration to always use left side for last actor in diagram,

This will avoid having text going far right side.

http://www.plantuml.com/plantuml/png/SoWkIImgAStDuNBAJrBGjLDmpCbCJbMmKiX8pSd9vmBpC8GLF1Ko4ijI5H8LSl9B54ho5OeJAnMAynLoKaiKSbCLm4RgwUafnEGvvIGg866O9I3AIi4t5QWtNmUhQTYrEwJcfG3T2W00

commented May 16 by plantuml (257,860 points)

With last beta http://beta.plantuml.net/plantuml.jar you can now have :

@startuml
Bob -> Alice : hello
Alice <- Alice : hello I have a lot to say so let me start... \nBla Bla Bla Bla
@enduml

This is not widely tested...
Is this what you were expecting ?

commented Jun 10 by mapo.job (140 points)
edited Jun 14 by mapo.job
Yes, that is a perfect solution.
Tried it with version 5.5.1 and the image is extended on the right following the size of the message. But the arrow and message are properly positioned on the left side of the participant.
Can the the right space only get extended if needed?
...