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

0 votes
asked Nov 7 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 by The-Lu (74,900 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.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...