Questions tagged [activity-diagram]

An activity diagram is a mapping of the steps involved in a repetitive process to a visual workflow

An activity diagram is a subset of UML which is intended to facilitate and codify decisions and priorities within an organization.

References

UML 2 Activity Diagramming Guidelines

246 questions
56
votes
1 answer

How do I represent a loop in an activity diagram?

I'd like to represent a loop in a UML activity diagram. Here's my situation: For each folder, I check each document within that folder For each document I check its content: If it's invalid (based on keyword searching), do action X and pass to…
hereForLearing
  • 1,209
  • 1
  • 15
  • 33
37
votes
4 answers

Difference between StateChart and Activity Diagram

I am really unable to understand the real difference between these 2 diagrams. I mean both of these deal is "states" but I am not sure what deals with what?
itsaboutcode
  • 24,525
  • 45
  • 110
  • 156
29
votes
5 answers

Differences between DFD (Data Flow Diagram) and activity diagram

I need to know this differences in order to undestand how to use them right. Which are the differences of DFD and Activity diagram?
llazzaro
  • 3,970
  • 4
  • 33
  • 47
19
votes
3 answers

What is the difference between a flow chart and a UML activity diagram?

I know that an activity diagram is: More simple; More standardized; Support concurrent flows. compared to a flow chart. But what are the possible reasons for using an activity diagram instead of a flow chart apart from those mentioned above?
yelo
  • 371
  • 1
  • 5
  • 17
15
votes
2 answers

Join and Merge in activity diagram

What is the difference between Join and Merge in Unified Modeling Language Activity Diagram. Give an example to understand more clearly.
AzeEm AnJum
  • 161
  • 1
  • 1
  • 5
13
votes
1 answer

In an activity diagram, are there two initiating events allowed?

I want to model an activity, where there can be two several initiating events. These events has two several responsible actors. Is it allowed that a UML activity-diagram could have two initiating events and only one end? Could the action-flow be…
martin
  • 2,957
  • 3
  • 25
  • 46
12
votes
3 answers

Is there any "switch case" in UML use-case specification?

Is there any "switch case" in use-case specification? In the requirements: When user select "contract" in combobox, a "contract" tab appears, then user will interact with the "contract" tab. When user select "Independently funded", a "Funding" tab…
Susuri Yuyuki
  • 153
  • 1
  • 3
  • 8
9
votes
3 answers

Automatically generate flowcharts out of C++ code

I need to automatically construct flowcharts out of C++ code, ideally one flowchart per source file. Is there any tool (preferably C++/Python and either open-sourced or highly configurable - so I may change the look) that I can use to create…
Konstantin
  • 2,937
  • 10
  • 41
  • 58
9
votes
2 answers

Asynchronous Callbacks in UML Activity Diagrams

I'm trying to model my Application with UML Activity Diagrams. I'm using JavaScript and Node.js and lots of asynchronous callbacks. Here is what I came up with: What do you think? Do you understand whats going on? I'm using a "generic connector"…
Chris
  • 4,204
  • 1
  • 25
  • 30
7
votes
1 answer

How to add text into decision node UML in visual studio 2012

I try to use activity diagram in Visual studio. When I add a decision node to diagram, there is no way to add text to display true or false condition. I searched in connector properties but it doesn't help. Look at this, I want to add true and false…
ductran
  • 10,043
  • 19
  • 82
  • 165
6
votes
2 answers

How to use expansion regions for loops in an activity diagram?

I am having problems designing a proper UML activity diagram. I've seen similar questions and possible answers: How to present a loop in activity diagram? Even with these answers I am having doubts and my own answer doesn't correspond with the UML…
Jax Teller
  • 163
  • 2
  • 18
6
votes
1 answer

Uncertain about exception handling in UML 2.0 Activity Diagram

HI, I recently was reverse engineering a certain project to UML, and was stuck at a point where I could not reach a conclusion. The code is fairly simple: ... try { sj =…
CSharpenter
  • 722
  • 8
  • 21
5
votes
4 answers

How to reference earlier activity in PlantUML UML Activity Diagram

I am trying to make an activity diagram with PlantUML (new beta syntax). So far I came up with (simplified): @startuml start :A; if (Q1) then (yes) :B; if (Q2) then (yes) :D; else (no) :E; endif else (no) …
Roderik
  • 307
  • 1
  • 4
  • 12
5
votes
1 answer

Merge node in activity diagram

I'm learning Activity diagram in UML and now I'm confused with the following diagram for representing procedures when calling a pizza. I think a merge node should be added before the join node because if not, the join node will wait forever. Is that…
lenhhoxung
  • 2,530
  • 2
  • 30
  • 61
5
votes
1 answer

PlantUML Activity Diagram Go Back

I am using PlantUML to create an Activity diagram. I want the arrow that comes out of Modify Details to go back to OP2 instead of the diamond. I have this diagram: @startuml |Swimlane1| start :OP1; |Swimlane2| :OP2; if (Form Valid?) then…
JohnyChew
  • 147
  • 1
  • 2
  • 10
1
2 3
16 17