Why not to support nested boxes in sequence diagrams?

+10 votes
asked Sep 21, 2016 in Wanted features by boshka (3,960 points)
retagged Apr 4, 2017 by boshka

why this is not possible?

@startuml
     box "component"
           box "subcomponent"
                 participant a
           end box
     end box
@enduml
 

 

commented Feb 7, 2017 by boshka (3,960 points)
edited Feb 8, 2017 by boshka
Dear PlantUML team!
any comment on this one?
Thank you!

Related request is here: http://plantuml.sourceforge.net/qa/?qa=4606/nested-boxes&show=4606#q4606

1 Answer

0 votes
answered Jan 4, 2022 by plantuml (295,760 points)

Since everyone seems to need this, we have started to work on it.
This is really a first release, you can only have 1 nested level now. And this will probably only work with teoz engine.

@startuml
!pragma teoz true
box "component"
  box "sub1"
    participant a
  endbox
  box "sub2"
    participant b
  endbox
end box
@enduml

There are probably a lot of issues, it's only a first step

...