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?

1 Answer

0 votes
answered May 14, 2021 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.

commented May 16, 2021 by plantuml (295,000 points)

With last beta you can now have :

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

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

commented Jun 10, 2021 by mapo.job (140 points)
edited Jun 14, 2021 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?