Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.3.2
-
None
-
Unknown
-
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:
{{# 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:
The same happens for other diagram types, like startregex diagrams.