Implementation Nested Activity with plantUML

0 votes
asked Mar 16 in Question / help by Elon
Hi, how do I get this implemented in plantUML?
Because I haven't found the implementation for plantUML.

https://stackoverflow.com/questions/49587971/can-i-create-a-nested-activity-diagram-in-uml

1 Answer

0 votes
answered Mar 16 by The-Lu (45,860 points)

Hello E.,

To achieve this:

Source:

You can use sub-diagram as:

@startuml
:Action 1;
: Activity 1
{{
mainframe Activity 1
start
:SubAction;
end
}}
;
:Action 2;
@enduml

If that can help,
Regards,
Th.

commented Mar 17 by Elon

Thank you. 

Can you tell me how to achieve something like that here?

commented Mar 17 by The-Lu (45,860 points)

Hello E.,

For that, you can use:

1/ Sprite, as:

@startuml
sprite $Invocation [16x16/16] {
0000000000000000
0000000000000000
0000000FF0000000
0000000FF0000000
0000000FF0000000
0000000FF0000000
0000000FF0000000
000FFFFFFFFFF000
000FF00FF00FF000
000FF00FF00FF000
000FF00FF00FF000
000FF00FF00FF000
000FF00FF00FF000
000FF00FF00FF000
0000000000000000
0000000000000000
}
start
:Action1;
:Action2:
Model2
\t\t<$Invocation>;
:Action3;
end
@enduml

Adapted from:

2/ or Unicode, as:

@startuml
start
:Action1;
:Action2:
Model2
\t\t₼;
:Action3;
end
@enduml

If that can help,
Regards,
Th.

...