0

Is it possible to embed images (other than sprites) from local machine in a PlantUML sequence diagram. Tried to insert a sequence code within the PlantUML Creole after ';' and before ':',but got syntax error. Is there a way to insert images into the sequence diagram.

user3555809
  • 31
  • 1
  • 1
  • 5
  • `;` and `:` are in activity diagrams, but you tagged sequence-diagrams. Can you please post code of what exactly you were trying to do? – Fuhrmanator Aug 18 '22 at 18:56

1 Answers1

0

It should work. I'm not on Ubuntu, but if I use the VSCode PlantUML plug-in in Windows, and create a file test.puml:

@startuml test

participant "<img:blah.png{scale=0.5}>" as blah
blah -> A : Hello

@enduml

and I save it in the same directory as blah.png I get a result as expected:

enter image description here

Fuhrmanator
  • 11,459
  • 6
  • 62
  • 111