restore $group does not work for nested component

0 votes
asked Nov 19 in Bug by boshka (3,220 points)
edited Nov 19 by boshka

Not sure if it is really a bug, but shouldn't the diagram display the $showgroup1 in this code?


@startuml
component A $hidegroup1 {
    component A1 $showgroup1 {
    }
}

component B {
    component B1 {
    }
}

A -- B
A1 -- B1

remove $hidegroup1
restore $showgroup1

@enduml


This is the actual result:

PlantUML Diagram

However, the desired result is that component A1 would be displayed too while (the parent) component A would stay hidden:

PlantUML Diagram

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.
...