4

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?

4
  • 1
    See uml-diagrams.org/activity-diagrams.html Commented Mar 31, 2018 at 13:24
  • looks like i can find useful info. from above link. thanks. Commented 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? Commented Mar 31, 2018 at 15:27
  • good observation. yes I am seeking options to achieve it in EA. Commented Apr 1, 2018 at 16:15

1 Answer 1

5

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

enter image description here

From the browser (well, it's EA) you can choose Add/Composite Structure Diagram. Here you can layout the subprocess (e.g. like)

enter image description here

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:

enter image description here

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.