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?
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With