Unable to convert Ditaa diagram to png

0 votes
asked Nov 6 in Question / help by estratos (120 points)

Hi,

This is my version of Plantuml:

PlantUML version 1.2025.4 (Sat Jun 28 13:09:25 CEST 2025)

I'm trying to get a png from the following Ditaa diagram:

@startditaa
+-----------------+
| Things to do    |
| cGRE            |
| o Cut the grass |
| o Buy jam       |
| o Fix car       |
| o Make website  |
+-----------------+
@endditaa 

using plantuml.jar with this command:

java -jar /opt/plantuml/plantuml.jar mydiagram.puml

but I'm always getting this response:

Warning: no image in mydiagram.puml
No diagram found

I can however create png's from class diagrams (@startuml/@enduml) without problems.

Are Ditaa diagrams maybe not supported by this version of Plantuml? Thanks for your help,

Daniel.

1 Answer

+1 vote
answered Nov 11 by valexiev (1,820 points)
selected Nov 11 by estratos
 
Best answer

The diagram works ok on planttext, which runs version 1.2025.10 (Nov 04).

Try upgrading?

commented Nov 11 by estratos (120 points)

That was probably the reason, but I finally converted the graph using the ditaa jar file, instead of plantuml.

Thanks a lot for your help.

...