Set image as background

0 votes
asked Jul 7, 2013 in Wanted features by anonymous
Hi,

I would like to know if it's possible to add a new feature to be able to set an image as background in diagram ?

Thanks a lot

1 Answer

0 votes
answered Mar 30, 2023 by evantill (480 points)

You could use svg for example :
see https://codepen.io/evantill/pen/JjaqYdj
Just change the diagram url and it will fit.



A great article on positioning elements in svg :

https://www.sarasoueidan.com/blog/mimic-relative-positioning-in-svg/

Do not forget to tell plantuml to use a transparent background :

@startuml
skinparam backgroundcolor transparent
Bob -> Alice : hello
@enduml
...