Doxyen not able to generate the mindmap feature and WBS

0 votes
asked Apr 17, 2020 in Wanted features by Saravana Raja
edited Apr 17, 2020

In doxyen i am able to generate all the sequence diagrams and other stuff something like below. I write this in my readme.md file and the doxygen parses this readme file and the it includes all the plantuml diagrams  which are written with below rules.

@startuml
!include myplanumlfile.puml
@enduml

But why i am not able to do the same for mindmap something like this.
@startmindmap
!include myplantumlfile.puml
@endmindmap

1 Answer

0 votes
answered Apr 17, 2020 by plantuml (295,000 points)
Could you check your PlantUML version :

@startuml
version
@enduml

Thanks!
commented Apr 17, 2020 by Saravana Raja
Sorry this is the details version from my CLion editor.  This editor uses the plantuml plugin and it seems like it is this version.

But when i check the same on my linux machine without editor it looks like i have different version.

PlantUML version 1.2020.03beta6 (Unknown compile time)                                                                 
     (GPL source distribution)                                                                                              
     Loaded from jar:file:/home/saravana/.local/share/JetBrains/CLion2020.1/plantuml4idea/lib/plantuml_beta_2020_03_06.jar!/
                                                                                                                            
     The environment variable GRAPHVIZ_DOT has not been set                                                                 
     Dot executable is /usr/bin/dot                                                                                         
     Dot version: dot - graphviz version 2.40.1 (20161225.0304)                                                             
     Installation seems OK. File generation OK                                                                              
                                                                                                                            
     Java Runtime: OpenJDK Runtime Environment                                                                              
     JVM: OpenJDK 64-Bit Server VM                                                                                          
     Java Version: 11.0.6+8-b765.25                                                                                         
     Operating System: Linux                                                                                                
     Default Encoding: UTF-8                                                                                                
     Language: en                                                                                                           
     Country: US                                                                                                            
     Machine: sraja-lnx                                                                                                     
     PLANTUML_LIMIT_SIZE: 4096                                                                                              
     Processors: 4                                                                                                          
     Max Memory: 2,083,782,656                                                                                              
     Total Memory: 467,906,560                                                                                              
     Free Memory: 121,049,328                                                                                               
     Used Memory: 346,857,232                                                                                               
     Thread Active Count: 29
commented Apr 17, 2020 by plantuml (295,000 points)

Ok, thanks.

Your PlantUML seems ok. Maybe it's an Doxygen issue.

Does this simple example work ?

@startmindmap
* Debian
** Ubuntu
*** Linux Mint
@endmindmap

commented Apr 17, 2020 by Saravana Raja
On my Linux version i have this version.   So how can i update this to the same as my editor because i run from terminal the doxygen command to generate this ?

PlantUML version 1.2019.08 (Sat Jul 13 21:25:14 CEST 2019)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_242-8u242-b08-0ubuntu3~18.04-b08
Operating System: Linux
OS Version: 4.15.0-91-generic
Default Encoding: UTF-8
Language: en
Country: US
Machine: sraja-lnx
PLANTUML_LIMIT_SIZE: 4096
Processors: 4
Max Memory: 7,470,055,424
Total Memory: 504,889,344
Free Memory: 496,642,000
Used Memory: 8,247,344
Thread Active Count: 1

The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version 2.40.1 (20161225.0304)
Installation seems OK. File generation OK
commented Apr 17, 2020 by plantuml (295,000 points)
Ok, version 1.2019.08 is older and cannot generate MindMap.

You have to locate the old "plantuml.jar" file on your Linux and change it with a more recent "plantuml.jar" file.
commented Apr 17, 2020 by anonymous
Can you please tell me from where can i get this updated version of plantuml.jar file ?

I just install it like sudo apt-get install -y plantuml.  With this i see it says me the plantuml is already updated one.  And i have this above version which i have mentioned.
commented Apr 17, 2020 by plantuml (295,000 points)
Sure, you'll find it on the download page https://plantuml.com/en/download
commented Apr 17, 2020 by anonymous
Great looks like from command line i am able to generate the mindmap feature with planuml.

But for some reason when i do it from the doxygen file by including the plantuml it is not generating.  Looks like need to check something with doxygen.

But thanks for the jar file  update.  It works from plantuml side.
commented Apr 17, 2020 by albert (3,520 points)
edited Apr 18, 2020 by albert
With salt we can use e.g.:

@startuml
salt
{+
{/ <b>General
Fullscreen
Behavior
Saving } |
{
{ Open image in: | ^Smart Mode^ }
[X] Smooth images when zoomed
[X] Confirm image deletion
[ ] Show hidden images
[Close]
}
}
@enduml

but with mindmap this doesn't seem to work, I tried:

@startuml
mindmap
{
* Debian
** Ubuntu
*** Linux Mint
}
@enduml

resulting in an error message (on the plantuml web server): "Syntax Error?".

@plantuml Is this a bug in plantuml or did I miss something.
commented Oct 30, 2020 by albert (3,520 points)
Are there any plans to make the mentioned problem in my previous comment about mindmap (and also other start... commands) possible?
commented Oct 30, 2020 by The-Lu (64,340 points)

Hello Albert,

From version V1.2020.18, you can now use mindmap or wbs on sub-diagram, (and for old plugin sad that manages only @startuml/@enduml and not @start[salt|mindmap|wbs]) (on string context, e.g. as minimum example as in title) as:

@startuml
title
{{mindmap
* Debian
** Ubuntu
*** Linux Mint
*** ...
** LMDE
** ...
}}
end title
@enduml


[See on PlantUML server]


If that can help,
Regards,
Th.

...