Activity diagrams
[
]
are graphical representations of
workflow
Workflow is a generic term for orchestrated and repeatable patterns of activity, enabled by the systematic organization of resources into processes that transform materials, provide services, or process information. It can be depicted as a seque ...
s of stepwise activities and actions
with support for choice, iteration, and concurrency.
In the
Unified Modeling Language
The Unified Modeling Language (UML) is a general-purpose visual modeling language that is intended to provide a standard way to visualize the design of a system.
UML provides a standard notation for many types of diagrams which can be roughly ...
, activity diagrams are intended to model both computational and organizational processes (i.e., workflows), as well as the data flows intersecting with the related activities.
[
"Object nodes hold data that is input to and output from executable nodes, and moves across object flow edges.
Control nodes specify sequencing of executable nodes via control flow edges."][
In other words, although activity diagrams primarily show the overall control flow, they can also include elements showing the data flow between activities through one or more data stores.][
]
Construction
Activity diagrams are constructed from a limited number of shapes, connected with arrows. The most important shape types are as follows:
* '' stadia'' represent ''actions'';
* ''diamonds'' represent ''decisions'';
* ''bars'' represent the start (''split'') or end (''join'') of concurrent activities;
* a ''black circle'' represents the start (''initial node'') of the workflow;
* an ''encircled black circle'' represents the end (''final node'').
Arrows run from the start towards the end and represent the order in which activities happen.
Activity diagrams can be regarded as a form of a structured flowchart
A flowchart is a type of diagram that represents a workflow or process. A flowchart can also be defined as a diagrammatic representation of an algorithm, a step-by-step approach to solving a task.
The flowchart shows the steps as boxes of v ...
combined with a traditional data flow diagram. Typical flowchart techniques lack constructs for expressing concurrency. However, the join and split symbols in activity diagrams only resolve this for simple cases. The meaning of the model is not clear when these symbols are arbitrarily combined with decisions or loops.
While in UML 1.x, activity diagrams were a specialized form of state diagram, in UML 2.x, the activity diagrams were reformalized to be based on Petri net
A Petri net, also known as a place/transition net (PT net), is one of several mathematical modeling languages for the description of distributed systems. It is a class of discrete event dynamic system. A Petri net is a directed bipartite graph t ...
-like semantics, increasing the scope of situations that can be modeled using activity diagrams. These changes cause many UML 1.x activity diagrams to be interpreted differently in UML 2.x.
UML activity diagrams in version 2.x can be used in various domains, e.g. in design of embedded systems. It is possible to verify such a specification using model checking techniques.[I. Grobelna, M. Grobelny, M. Adamski, "Model Checking of UML Activity Diagrams in Logic Controllers Design", Proceedings of the Ninth International Conference on Dependability and Complex Systems DepCoS-RELCOMEX, Advances in Intelligent Systems and Computing Volume 286, Springer International Publishing Switzerland, pp. 233-242, 2014]
See also
* Specification and Description Language Specification and Description Language (SDL) is a specification language targeted at the unambiguous specification and description of the behaviour of reactive and distributed systems.
Overview
The ITU-T has defined SDL in Recommendations Z.100 ...
* Business Process Modeling Notation
Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes in a business process model.
Originally developed by the Business Process Management Initiative (BPMI), BPMN has been maintained by the ...
* Control-flow graph
In computer science, a control-flow graph (CFG) is a representation, using graph notation, of all paths that might be traversed through a program during its execution. The control-flow graph was conceived by Frances E. Allen, who noted that ...
* Data flow diagram
A data-flow diagram is a way of representing a flow of data through a process or a system (usually an information system). The DFD also provides information about the outputs and inputs of each entity and the process itself. A data-flow diagram ha ...
* Drakon-chart
* Event-driven process chain
An event-driven process chain (EPC) is a type of flow chart for business process modeling. EPC can be used to configure enterprise resource planning
Enterprise resource planning (ERP) is the integrated management of main business processes, ...
* List of UML tools
This article compares UML tools. UML tools are software applications which support some functions of the Unified Modeling Language
The Unified Modeling Language (UML) is a general-purpose visual modeling language that is intended to provide ...
* Pseudocode
In computer science, pseudocode is a description of the steps in an algorithm using a mix of conventions of programming languages (like assignment operator, conditional operator, loop) with informal, usually self-explanatory, notation of actio ...
* State diagram
A state diagram is used in computer science and related fields to describe the behavior of systems. State diagrams require that the system is composed of a finite number of states. Sometimes, this is indeed the case, while at other times this i ...
*Flowchart
A flowchart is a type of diagram that represents a workflow or process. A flowchart can also be defined as a diagrammatic representation of an algorithm, a step-by-step approach to solving a task.
The flowchart shows the steps as boxes of v ...
*Activity cycle diagram
An activity cycle diagram (ACD) is a graphical modeling tool to depict interactions among objects in a system.
Origin
The ACD is a modeling tool that was developed in 1960 following the flow diagram method of K.D. Tocher. It pertains to the ac ...
References
External links
Articles on UML 2 Activities and Actions
{{DEFAULTSORT:Activity Diagram
Unified Modeling Language diagrams
Systems Modeling Language
Modeling languages
es:Diagrama de actividades