Simplify an activity diagram

4.6k views Asked by At

I'm working on my graduation project which is an online quiz website. now i'm drawing the UML activity diagram but it gets too complex and i can't add more details because at the end it must be printed in the project documentation in A4 papers.
can i split the diagram into multiple diagrams?. and if i did this should i repeat the login/registration actions in the beginning of each diagram?
enter image description here

1

There are 1 answers

0
qwerty_so On BEST ANSWER

Use structured activities to form logical groups. You can instantiate these activities as call behavior actions where needed.

Assume you have an activity Login

enter image description here

(the lying 8 is an invention of Enterprise Architect to indicate an embedded diagram; not UML standard)

which looks inside like

enter image description here

(just very simplified).

Now you can instantiate that like

enter image description here

where the fork indicates the action is a call behavior.

Adding activity parameters it would even be possible to parametrize these. Just like you would do when calling a function in a programming language.