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
4
votes
2 answers

Activity Diagram with multiple end points

My Question may be simple, but I am confused because I have no idea about activity diagrams. My question- Are multiple end points ever acceptable in an activity diagram?
Imran Khan
  • 95
  • 2
  • 2
  • 9
4
votes
1 answer

Automatic Layout of Swimlane Graphs

I am looking for algorithms/libraries, that help me layout process charts in swim lane format. Example: The process of making and selling shoes could look like this (strongly simplified): Leather company delivers leather shoemaker creates shoes…
Lukas Hestermeyer
  • 830
  • 1
  • 7
  • 19
4
votes
3 answers

How to model different return values of a function in a UML Activity-Diagram?

See the following code for example. How can I model different return values of a function in a UML Activity-Diagram? typedef enum {CLOSED, OPEN, UNKNOWN} sw_state_t; sw_state_t read_input(int index) { uint8_t sw_state; if…
sergej
  • 17,147
  • 6
  • 52
  • 89
4
votes
2 answers

Visual Paradigm Sub-activity diagram icon

In a UML Activity Diagram, an Action representing a Sub-activity diagram can be signaled with a "trident" icon, like in this picture: I'm using Visual Paradigm as UML editor and I need to use this icon whithin some activity diagrams. But I haven't…
eang
  • 1,615
  • 7
  • 21
  • 41
4
votes
3 answers

In an activity diagram, are you allowed dead ends and joins without forks? (includes example)

My question actually consists of two questions regarding the same process modelling in an activity diagram. The process in short: Joe uploads a file into a portal, this portal transfers the file to our server where it is checked for errors. In case…
Stijnvdk
  • 556
  • 4
  • 7
  • 20
3
votes
2 answers

What ist the difference between Structured Activity and Sub-Activity in UML?

I am modeling in SPARX EA - and first I just came across two different icons: glasses/chain The rake/trident Now my understanding is: A composite activity is one possibility for a structured activity. SPARX EA says, the chain symbol indicates…
3
votes
2 answers

How to I have an activity diagram with a continue statement in PlantUML

Given the following PlantUML code: @startuml start repeat :Task 1; if (Condition 1) then (Yes) :Task 2; else (No) :Continue Loop; endif if (Condition 2) then (Yes) :Task 3; else…
millie
  • 2,642
  • 10
  • 39
  • 58
3
votes
1 answer

In activity diagram, can there be a fork into two actions but only one action at joining, due to inclusion of one action in the other?

Consider a system user can perform two actions in concurrent manner, the first action (A1) is just performed on the user's order, the second action (A2) includes performing (A1) when performed as it is stated in the following use-case…
3
votes
1 answer

How to represent common tasks between two users in activity diagram if each user has his own set of tasks?

Consider I have two users to use my website system (User and Admin), on each of their pages (User page and Admin page) they have some actions (tasks) available to run out in concurrent manner (A1 and A2 available for User) and (A1,A2,A3 and A4…
3
votes
1 answer

Is there any specific number of output arrows from decision node and input arrows to the merge node in activity diagram?

How many output arrows can be connected to the decision node and how many input arrows can be connected to the merge node in an activity diagram? Is there any possibility of having more than two output arrows to the decision node and input arrows to…
3
votes
0 answers

Is there a way to hide intermediate arrowheads in PlantUML activity diagrams?

I'm trying to remove the intermediate arrowhead in the activity diagram circled in red below: @startuml start repeat :read data; :generate diagrams; repeat while (more data?) is (yes) ->no; stop @enduml Source: PlantUML docs - Activity…
3
votes
1 answer

connection is lost at the end of the swimline on the plantuml

I'm having a little trouble making an activity diagram using plant uml. In this case I want to terminate a process to at one node point (stop). But it looks like I couldn't do this. Please help me. I am a student who just a few days ago used this…
yourname
  • 53
  • 1
  • 1
  • 5
3
votes
2 answers

UML Activity Diagram: Get the multiplicity of a class's 0..* attribute

How does one go about getting the number of elements in a class's attribute that has 0..* multiplicity? I can only think of either using an << iterate>> construct to do so but that seems silly or a counter whenever something is added. This seems…
Jordan McBain
  • 275
  • 2
  • 11
3
votes
2 answers

UML activity diagram combined join and fork nodes

Is it valid to have the following combined join and fork nodes in a UML activity diagram or is it wrong? I searched online and in some UML books but I cannot find a clear answer or a similar example. The idea is to have two actions (1 and 2) that…
John Stef
  • 585
  • 1
  • 4
  • 16
3
votes
2 answers

How to visualize collaborative activities in an UML activity diagram?

I'm currently stuck on modelling an activity diagram for a workflow which happens in a collaborative way by many users. It is somewhat comparable to multiple users editing and validating the same Confluence Page at the same time so I decided to use…
Tim Meyer
  • 12,210
  • 8
  • 64
  • 97
1 2
3
16 17