Add pictures to participants in sequence diagramm

0 votes
asked 1 day ago in Question / help by J.B.
Hello all!

Is it possible to add a picture to the participant of a sequence diagram?

Many thanks in advance for your help.

Best regards,
J.B.

1 Answer

0 votes
answered 1 day ago by The-Lu (89,120 points)

Hello J.,

Yes just by adding creole IMG tag (with link to an image), as:

@startuml
participant "<img:https://plantuml.com/logo3.png>" as a
a -> b
return
@enduml

See doc. here:

Enjoy,
Th.

commented 2 hours ago by J.B.

Hi Th.,

thanks for your reply.
When I try this, the error message 

(Cannot decode: https://plantuml.com/logo3.png)

is shown in the participant box

Regards,
J.B.

commented 2 hours ago by Serge Wenger Work (16,630 points)

Hello,
I think your plantUML server has not Internet Access. If you do it with the PlantUML main server:

...