Style-BETA: user defined style not working for mindmaps

0 votes
asked Sep 13 in Bug by atennert (160 points)

Hi,

There is a bug in the handling of user defined styles with the beta styles in mindmap diagrams: The user defined style syntax is detected as normal text.

I used version 2.12.0 of the VS Code PlantUML plugin.

Here's an example of how it should be (not root is green):

@startwbs

skinparam useBetaStyle true
<style>
wbsDiagram {
    node {
        BackgroundColor Red
    }

    .lol {
        BackgroundColor Green
    }
}
</style>

* root
** not root <<lol>>

@endwbs

Here's an example of how it should not be (not root is red and printed "not root <<lol>>"):

@startmindmap

skinparam useBetaStyle true
<style>
mindmapDiagram {
    node {
        BackgroundColor Red
    }

    .lol {
        BackgroundColor Green
    }
}
</style>

* root
** not root <<lol>>

@endmindmap

1 Answer

0 votes
answered Sep 13 by plantuml (205,520 points)
Thanks for the report.

This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Tell us if it's not working for you
commented Sep 13 by atennert (160 points)
Perfect, it works great, thank you!
commented Sep 15 by plantuml (205,520 points)
This is also fixed in offical release 1.2019.10
...