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 uml-diagrams.org/activity-diagrams.htmlqwerty_so– qwerty_so2018-03-31 13:24:31 +00:00Commented Mar 31, 2018 at 13:24
-
looks like i can find useful info. from above link. thanks.Harsha J K– Harsha J K2018-03-31 13:43:16 +00:00Commented Mar 31, 2018 at 13:43
-
Just realize that you tagged it with EA. Are you seeking for technical options to do that with EA?qwerty_so– qwerty_so2018-03-31 15:27:53 +00:00Commented Mar 31, 2018 at 15:27
-
good observation. yes I am seeking options to achieve it in EA.Harsha J K– Harsha J K2018-04-01 16:15:56 +00:00Commented Apr 1, 2018 at 16:15
1 Answer
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 ObjectNodes to Activities from the browser's Add context menu. These can be use in the referenced way.


