Reference Guide 17.10-2, the "boxless" style cannot apply to the root element

0 votes
asked Nov 7, 2024 in Bug by xiaoqi (700 points)

Hello,

I'm learning the reference guide on MindMap chapter, for the 2nd example of 17.10 Changing Styles, I see the "boxless {}" styles can apply to all levels' elements but not the root element. Below is my code in live server, I create one another root element called "Another Root" as comparison:

https://www.plantuml.com/plantuml/uml/RP51IyH038Nlyojozg22rr9Mh8AiLh1ubdGRri4sMT8KgxB_tN4wBDlI76Puxyia3sRJ6wfrdfiE3yvblNstbBja51xtYXtyEWXLozXItqygreEmtKah2Wtgvrw9UCPAx0WUkmFkREPN_eVWvZfwntXUgeWj9bV_MS0RjdwtibAfIGEEBhjAmTt5Epnv7iQ8WYZz-5954GrW-Zgfr1Aj20kgFR8xOs_rm3RCNqmBuDcpBS1sM6aFWTPis1RtK9AShGDaiG_IHTmmuNO2y2fYa6KQhZntRaFSfA_w0m00

@startmindmap

<style>

mindmapDiagram {

    boxless {

        FontColor darkgreen

        FontName Impact

        FontSize 30

    }

    .root {

        FontStyle italic

        FontColor red

    }

}

</style>

*_ Linux

    *_ NixOS

        * new

            *_ new

    * Debian

        *_ Ubuntu

            * Linux Mint

            * Kubuntu

            *_ Lubuntu

            * KDE Neon

        * another

        * new

*_ Another Root <<root>>

@endmindmap

commented Nov 7, 2024 by The-Lu (85,820 points)

Hi X.,

Thanks for the report.

For debugging point of view... (and for PlantUML team) Here is a minimal not working example:

@startmindmap
<style>
mindmapDiagram {
    boxless {
        FontColor darkgreen
        FontSize 30
    }
}
</style>
*_ root
** a1
***_ a2
**_ b1
@endmindmap

Regards,
Th.

1 Answer

+1 vote
answered May 2 by The-Lu (85,820 points)
selected May 2 by xiaoqi
 
Best answer

Hello X.,

Thanks for your report.
That is now fixed by the V1.2025.1.

Ref.:

Regards,
Th.

...