Distance between participants with notes between them.

+1 vote
asked Aug 29, 2013 in To be sorted by anonymous

 

Hello,
 
Cosider the below example:
 
@startuml
participant A
participant B
note right of A: some notes right of A
@enduml
 
Note of participant A too big and crosses the line of participant B, but I want the note to be right between participant A anb B, like in case with arrows: 
 
A -> B: looong mesege
 
In this case the distance between A and B is selected automatically. 
So I need the same with notes. For any length of note it should be between A and B but not cross them.
 
Is there a way to make it work like this? 
 
The variant with \n (to make notes not so long) is not suitable for me, cuz I have a long sequence of characters that I cant interrupt.
 
Best regards.

 

1 Answer

+1 vote
answered Jan 31, 2017 by anonymous

Hello,

For those who encountered the same issue, I have found a way to change the distance between A and B if you have already an arrow between them by using \t.

For example :

A-> B: Message\t\t\t\t\t\t\t 
note over A, B
My so looooooooooooooooooooooooooooooong text
end note
...