Anchor Duration not being shown

0 votes
asked Jan 10 in Question / help by Tanvir (120 points)

I have the following text but the intended duration between start and end ('Not in sync') isn't showing:

@startuml
hide footbox
title Sequence

note over PA : cue pressed
note over PA : play pressed

{start} PA -> PIS : send mpl with timings
activate PIS
activate PA #RED

PIS -> PIS: MPL->PL Conversion
PIS -> PR: combined cue / load AP request
{end} PR <--> PA:
activate PR#GREEN
note right of PR: playlist running, in sync with PA
{start} <-> {end} : Not in sync

@enduml

1 Answer

0 votes
answered Jan 10 by The-Lu (76,660 points)
selected Jan 13 by Tanvir
 
Best answer

Hi T.,

FYI, in order to use anchor, you must to use "!pragma teoz true", as:

@startuml
!pragma teoz true

hide footbox
title Sequence

note over PA : cue pressed
note over PA : play pressed


{start} PA -> PIS : send mpl with timings
activate PIS
activate PA #RED

PIS -> PIS: MPL->PL Conversion
PIS -> PR: combined cue / load AP request
{end} PR <--> PA:

activate PR#GREEN
note right of PR: playlist running, in sync with PA

{start} <-> {end} : Not\nin\nsync

@enduml

Enjoy,
Regards,
Th.

commented Jan 13 by Tanvir (120 points)
thanks -  what is teoz ? Also is there a way to move the anchor more to the left so the text doesn't clash with the participant box ?
commented Jan 13 by The-Lu (76,660 points)

Hi T.,

For doc. see:

For anchor/duration displaying, and similar request/issue see:

And for your case, here is a minimal workaround: add just some '\t', as:

{start} PA -> PIS : send mpl with timings \t\t

Enjoy,
Regards,
Th.

commented Jan 13 by Tanvir (120 points)
fantastic - thanks
...