How to do several sub-diagrams (activity) nested in each other?

0 votes
asked Aug 24 in Question / help by dd (160 points)

Hi,

When I try to make sub-diagrams nested in each other, I get an error.

@startuml
start
:«iterative»
{{
start
if (condition?) then
  :«iterative»
  {{
  start
  :action;
  end
  }}
  ;
endif
end
}}
;
stop
@enduml

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuG8pkAmEhSuiIIrABCaiIpsqcwkw6YgUcQQWaPoVbv9PafcVPw-fK9AHciUbe82g72XGNGqam5f0ied98ENMG6PgNWgGhAq54jPSG4vc6eZa0WfO0st8B-1o0791pW00

Is there a way to make sub-diagrams nested in each other?

PlantUML support sub-diagrams nested in each other?

Best regards,
dd

1 Answer

0 votes
answered Aug 26 by The-Lu (49,840 points)

Hello D.,

PlantUML support sub-diagrams nested in each other?

Currently, only one level of sub-diagram is allowed...

See also this request or issue:

If that can help,
Regards.

...