For eg: I have an activity diagram depicting the flow of an API. Now that API calls an internal/static function. So, is it possible to depict the called function activity diagram with the caller activity diagram?
-
1See https://www.uml-diagrams.org/activity-diagrams.html – qwerty_so Mar 31 '18 at 13:24
-
looks like i can find useful info. from above link. thanks. – Harsha J K Mar 31 '18 at 13:43
-
Just realize that you tagged it with EA. Are you seeking for technical options to do that with EA? – qwerty_so Mar 31 '18 at 15:27
-
good observation. yes I am seeking options to achieve it in EA. – Harsha J K Apr 01 '18 at 16:15
1 Answers
There are a couple of ways to achieve nesting in EA. One would be to create an Activity
for the sub-process and invoke that.
You can nest the actions in an activity and use that in the main flow as invocation (when dragging the Activity
on the diagram use as "Invocation" rather than as "Link"). It then looks like
From the browser (well, it's EA) you can choose Add/Composite Structure Diagram
. Here you can layout the subprocess (e.g. like)
When you double click the invocation it will open this structure diagram.
Additionally you can use this diagram and drag it onto the (enlarged) invocation so it would show its guts:
The way it's shown in uml-diagrams.org is not possible for the diagram representation in EA (or I don't know how to do that). However, you can add ObjectNode
s to Activities
from the browser's Add
context menu. These can be use in the referenced way.

- 35,448
- 8
- 62
- 86