This issue has been created
 
 
PlantUML Macro / cid:jira-generated-image-avatar-85a877ed-f3c0-46aa-b0b5-33da2582072e PLANTUML-24 Open

PlantUML Macro Does Not Seem to Support the Documented Diagram Types (at Least With Local Execution)

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1d58ba32-0ada-4847-8700-fd1742c522fd Gunter Ohrner created this issue on 27/Mar/25 22:41
 
Summary: PlantUML Macro Does Not Seem to Support the Documented Diagram Types (at Least With Local Execution)
Issue Type: cid:jira-generated-image-avatar-85a877ed-f3c0-46aa-b0b5-33da2582072e Bug
Affects Versions: 2.3.2
Assignee: Unassigned
Created: 27/Mar/25 22:41
Priority: cid:jira-generated-image-static-major-53419060-3b40-4bbd-9164-fb671718fe77 Major
Reporter: Gunter Ohrner
Description:

Reported here: https://forum.xwiki.org/t/plantuml-macro-diagram-type-issues-local-execution/16772

 

We don’t use an external PlantUML server and are using PlantUML Macro 2.3.2 with XWiki 16.10.5 LTS on a Debian 12 “Bookworm” server:

 
588dfbe332950cd06d452403a8165a39d8163d8d_2_690x219.png
{{# dpkg -l | egrep graphvi
ii graphviz 2.42.2-7+deb12u1 amd64 rich set of graph drawing tools}}

 

For many diagram types I just get an error message that the type is not known.

On https://extensions.xwiki.org/xwiki/bin/view/Extension/PlantUML%20Macro#HUsage it states:

The content of the macro can refer to any of the following diagram types supported by PlantUML :

  • PlantUML (diagrams starting with [at]startuml)
  • DITAA (diagams starting with [at]startditaa)
  • GraphViz (diagrams starting with [at]startdot)
  • JCCKIT (diagrams starting with [at]startjcckit)
  • Salt (diagrams starting with [at]startsalt)
  • Mind maps (diagrams starting with [at]startmindmap)
  • Regexes (diagrams starting with [at]startregex)
  • Gantt (diagrams starting with [at]startgantt)
  • Chronology (diagrams starting with [at]startchronology)
  • Work breakdown structures (diagrams starting with [at]startwbs)
  • EBNF (diagrams starting with [at]startebnf)
  • JSON (diagrams starting with [at]startjson)
  • YAML (diagrams starting with [at]startyaml)

(I’m using a proper at sign in the actual code of course, see below.)

However, using the simplest e.g. WBS macro from the PlantUML documentation:

{plantuml}
@startwbs
 * Business Process Modelling WBS
 ** Launch the project
*** Complete Stakeholder Research
*** Initial Implementation Plan
** Design phase
*** Model of AsIs Processes Completed
**** Model of AsIs Processes Completed1
**** Model of AsIs Processes Completed2
*** Measure AsIs performance metrics
*** Identify Quick Wins** Complete innovate phase
@endwbs 
{/plantuml}

yields:

c635f5e61e6ac1d0d5074b42d3d3b4454f466605.png

The same happens for other diagram types, like startregex diagrams.