@startuml local2

!pragma teoz true
hide footbox

actor Alice
actor Bob
participant Application

Alice ->(15) Application: saisir("Hello")
Application ->(15) Alice: lire("Hello")
& Application ->(30) Bob

Bob ->(15) Application: saisir(" World")
Application ->(15) Alice: lire("Hello World")
& Application ->(30) Bob

@enduml

@startuml local2fail

!pragma teoz true
hide footbox

actor Alice
participant Application
actor Bob

Alice ->(15) Application: saisir("Le chat")
Application ->(15) Alice: lire("Le chat")
& Application ->(15) Bob: lire("Le chat")

Bob ->(15) Application: saisir(" mange")
& Alice ->(20) Application: saisir(" boit")
Application ->(15) Alice: lire("Le chat mange boit")
& Application ->(15) Bob: lire("Le chat mange boit")

@enduml