I am trying to design an activity diagram for an app that does some text summarization. This is what I have so far:
I tried searching for some advice, but couldn't figure out where I should connect the arrow after the user said no to logout.
This is not correct. As you use a decision node to select the yes/no alternative, you should merge the alternative flow back with a merge node (diamond).
Moreover, your join node at the top would never work, because a join node needs all its inputs to be activated (i.e. a token must be present on each). In your case, it would wait forever.
Fortunately, the correction is simple: replace your top join (first bar) with a merge (diamond)
Additional hint: UML activity is not flow chart
[users wants to logout]
) and any interaction with the user should happen in a previous action (e.g. Propose logout to user
or Propose choices for next actions
)Error encountered
and Retry
.Click generate summary button
has two incomning arrows. While in traditional flowchart, you'd think that one or the other is sufficient for the flow to continue, in UML activity diagram, the multiple incoming flows is like an implicit join: all must present a token for something to happen. Here as well, you should redirect the two incoming flows to an additional merge node which then has one outgoing arrow that should be the sole incoming arrow of your action.