asciidoctor / asciidoctorj-diagram

AsciidoctorJ Diagram bundles the Asciidoctor Diagram RubyGem (asciidoctor-diagram) so it can be loaded into the JVM using JRuby.
Apache License 2.0
10 stars 6 forks source link

Nested boxes not getting generated with PlantUML in v2.2.10 #44

Closed PascalDutch closed 1 year ago

PascalDutch commented 1 year ago

We have some issues building our documentation using the latest release of asciidoctorj-diagram.

We get an error from PlantUML that nested boxes are not supported. This is supported by PlantUML for sometime now, so I tried some different asciidoctorj-diagram versions and the problem only appears when using the latest version 2.2.10, 2.2.9 works fine. I downloaded the PlantUML version used in this asciidoctorj-diagram version (1.2023.5, found here) and that generates the diagram just fine.

Error:

box "SomeText" #APPLICATION
  participant Participant
  box "SomeBox" #LightYellow   
^^^^^                                         
 Box cannot be nested                         

[error] asciidoctor: ERROR: diagram/subdir/file.puml: line 0: Failed to generate image: PlantUML image generation failed: [From <input> (line 16) ]     

AsciiDoc versions:

<asciidoctor-maven-plugin.version>2.2.2</asciidoctor-maven-plugin.version>
<asciidoctorj-diagram.version>2.2.10</asciidoctorj-diagram.version>
<asciidoctorj-pdf.version>2.3.3</asciidoctorj-pdf.version>

I can't put the complete PlantUML diagrams here since they contain classified information.

robertpanzer commented 1 year ago

You might want to check at asciidoctor/asciidoctor-diagram. asciidoctorj-diagram is just a repackaging of asciidoctor-diagram.

PascalDutch commented 1 year ago

Will close this, created an issue at asciidoctor-diagram.