Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create nested box in PlantUML?

Tags:

uml

plantuml

I cannot make a nested box in plantUML.

@startuml
box "B0" #LightBlue
 Bob -> Alice : hello
 Box "B1" #LightYellow
  Bob --> Cunny : hi
 end box
end box
@enduml

This gives an error that box cannot be nested.

Any other way to show nested box, like in layered diagrams?

like image 313
Sazzad Hissain Khan Avatar asked Jul 01 '18 06:07

Sazzad Hissain Khan


People also ask

How do you create a sequence diagram in PlantUML?

use \ or / instead of < or > to have only the bottom or top part of the arrow. repeat the arrow head (for example, >> or // ) head to have a thin drawing. use -- instead of - to have a dotted arrow. add a final "o" at arrow head.

What is ALT in PlantUML?

PlantUML renders those itself. alt condition 1 bob -> alice alt condition 2 bob -> alice else condition 3 bob -> alice end else condition 4 bob -> alice end. Follow this answer to receive notifications.

How do you integrate PlantUML?

Go to Settings > Plugins > Marketplace and install the plugin PlantUML integration . Then go to Settings > Other Settings > PlantUML or search for PlantUML. Configure the path to the dot executable. This executable can be found in the /bin directory where you installed GraphViz.


1 Answers

It seems it's still not supported: http://forum.plantuml.net/6304/please-add-box-and-or-participant-nesting-ability

You can up-vote the feature request.

like image 184
Mauri Avatar answered Sep 21 '22 11:09

Mauri