Color attribute is not working in arithmetic mindmap

0 votes
asked Jan 8, 2021 in Bug by mgodlewski (120 points)

Hi all,

The inline color syntax doesn't work in arithmetic notation syntax with latest version (plantuml.1.2020.26.jar) :

@startmindmap
+ OS
++[#Orange] Ubuntu

@endmindmap

Give a syntax error.

A workaround is to use style color syntax which works fine even with arithmetic syntax :

@startmindmap
<style>
mindmapDiagram {
    :depth(1) {
      BackGroundColor orange
    }
}
</style>
+ OS
++ Ubuntu
@endmindmap

Hope this will be fix soon,

Regards,

Mathieu

1 Answer

+1 vote
answered Jan 8, 2021 by plantuml (295,000 points)
Thanks for the report.

This is fixed in last beta http://beta.plantuml.net/plantuml.jar and on the online server.
...