{"id":6880,"date":"2022-06-01T02:32:54","date_gmt":"2022-06-01T02:32:54","guid":{"rendered":"https:\/\/www.booksofall.com\/cn\/?post_type=product&#038;p=6880"},"modified":"2022-06-15T02:55:14","modified_gmt":"2022-06-15T02:55:14","slug":"activity-diagrams-what-they-are-and-how-to-use-them","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/","title":{"rendered":"Activity Diagrams: What They Are and How to Use Them"},"content":{"rendered":"<p>In its basic form, an activity diagram is a simple and intuitive illustration of what happens in a workflow, what activities can be done in parallel, and whether there are alternative paths through the workflow.<\/p>\n<p>A complete workflow description will have a basic flow, and one or several alternative flows. This workflow has a structure that we can define textually, using informal if, if-then-else, or do-until statements of various kinds. For a simple workflow with a simple structure, such textual definitions may be quite sufficient, but in the case of more complex structures, activity diagrams help to clarify and make more apparent what the workflow is.<\/p>\n<p>Historically, activity diagramming techniques have mostly been used in the business process modeling domain, but this article will also briefly discuss how you can use it in the system modeling domain.<\/p>\n<p>The purpose of this article is to show how you can use activity diagrams within the Rational Unified Process for business modeling as well as system modeling. Activity diagrams are often mentioned almost as a synonym to business modeling. For a more complete introduction to what business modeling is we refer to Kruchten,5 and for details to Jacobson et al.<\/p>\n<p>The reader of this article is assumed to be familiar with the basics of the Unified Modeling Language (UML).<\/p>\n<h3>Activity Diagrams<\/h3>\n<p><b>Activity diagrams<\/b>\u00a0are graphical representations of\u00a0<a title=\"Workflow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Workflow\">workflows<\/a>\u00a0of stepwise activities and actions with support for choice, iteration and concurrency. In the\u00a0<a title=\"Unified Modeling Language\" href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Modeling_Language\">Unified Modeling Language<\/a>, 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. Although activity diagrams primarily show the overall flow of control, they can also include elements showing the flow of data between activities through one or more data stores.<\/p>\n<h4><span id=\"Construction\" class=\"mw-headline\">Construction<\/span><\/h4>\n<p>Activity diagrams are constructed from a limited number of shapes, connected with arrows. The most important shape types:<\/p>\n<ul>\n<li><i>ellipses<\/i>\u00a0represent\u00a0<i>actions<\/i>;<\/li>\n<li><i>diamonds<\/i>\u00a0represent\u00a0<i>decisions<\/i>;<\/li>\n<li><i>bars<\/i>\u00a0represent the start (<i>split<\/i>) or end (<i>join<\/i>) of concurrent activities;<\/li>\n<li>a\u00a0<i>black circle<\/i>\u00a0represents the start (<i>initial node<\/i>) of the workflow;<\/li>\n<li>an\u00a0<i>encircled black circle<\/i>\u00a0represents the end (<i>final node<\/i>).<\/li>\n<\/ul>\n<p>Arrows run from the start towards the end and represent the order in which activities happen.<\/p>\n<p>Activity diagrams can be regarded as a form of a structured\u00a0<a title=\"Flowchart\" href=\"https:\/\/en.wikipedia.org\/wiki\/Flowchart\">flowchart<\/a>\u00a0combined 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 they are arbitrarily combined with decisions or loops.<\/p>\n<p>While in UML 1.x, activity diagrams were a specialized form of state diagrams, in UML 2.x, the activity diagrams were reformalized to be based on\u00a0<a title=\"Petri net\" href=\"https:\/\/en.wikipedia.org\/wiki\/Petri_net\">Petri net<\/a>-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.<\/p>\n<p>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 technique.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/activity-diagrams--what-they-are-and-how-to-use-them-z0wxz1odv?enforceShowPromotionBar=true\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":6895,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Activity diagrams\u00a0are graphical representations of\u00a0workflows\u00a0of stepwise activities and actions with support for choice, iteration and concurrency."},"product_brand":[],"product_cat":[213],"product_tag":[201],"class_list":{"0":"post-6880","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-computer-uml","7":"product_tag-lecture-notes","9":"first","10":"instock","11":"shipping-taxable","12":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Activity Diagrams: What They Are and How to Use Them - BooksOfAll Simplified Chinese<\/title>\n<meta name=\"description\" content=\"Activity diagrams\u00a0are graphical representations of\u00a0workflows\u00a0of stepwise activities and actions with support for choice, iteration and concurrency.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Activity Diagrams: What They Are and How to Use Them - BooksOfAll Simplified Chinese\" \/>\n<meta property=\"og:description\" content=\"Activity diagrams\u00a0are graphical representations of\u00a0workflows\u00a0of stepwise activities and actions with support for choice, iteration and concurrency.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Simplified Chinese\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-15T02:55:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/\",\"url\":\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/\",\"name\":\"Activity Diagrams: What They Are and How to Use Them - BooksOfAll Simplified Chinese\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg\",\"datePublished\":\"2022-06-01T02:32:54+00:00\",\"dateModified\":\"2022-06-15T02:55:14+00:00\",\"description\":\"Activity diagrams\u00a0are graphical representations of\u00a0workflows\u00a0of stepwise activities and actions with support for choice, iteration and concurrency.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg\",\"width\":\"596\",\"height\":\"842\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/cn\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Activity Diagrams: What They Are and How to Use Them\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#website\",\"url\":\"https:\/\/www.booksofall.com\/cn\/\",\"name\":\"BooksOfAll Simplified Chinese\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/cn\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#organization\",\"name\":\"BooksOfAll Simplified Chinese\",\"url\":\"https:\/\/www.booksofall.com\/cn\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Simplified Chinese\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Activity Diagrams: What They Are and How to Use Them - BooksOfAll Simplified Chinese","description":"Activity diagrams\u00a0are graphical representations of\u00a0workflows\u00a0of stepwise activities and actions with support for choice, iteration and concurrency.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/","og_locale":"zh_CN","og_type":"article","og_title":"Activity Diagrams: What They Are and How to Use Them - BooksOfAll Simplified Chinese","og_description":"Activity diagrams\u00a0are graphical representations of\u00a0workflows\u00a0of stepwise activities and actions with support for choice, iteration and concurrency.","og_url":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/","og_site_name":"BooksOfAll Simplified Chinese","article_modified_time":"2022-06-15T02:55:14+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/","url":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/","name":"Activity Diagrams: What They Are and How to Use Them - BooksOfAll Simplified Chinese","isPartOf":{"@id":"https:\/\/www.booksofall.com\/cn\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg","datePublished":"2022-06-01T02:32:54+00:00","dateModified":"2022-06-15T02:55:14+00:00","description":"Activity diagrams\u00a0are graphical representations of\u00a0workflows\u00a0of stepwise activities and actions with support for choice, iteration and concurrency.","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#primaryimage","url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg","contentUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/img_62a1965dcedd5.jpeg","width":"596","height":"842"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/cn\/activity-diagrams-what-they-are-and-how-to-use-them\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/cn\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/cn\/categories\/"},{"@type":"ListItem","position":3,"name":"Activity Diagrams: What They Are and How to Use Them"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/cn\/#website","url":"https:\/\/www.booksofall.com\/cn\/","name":"BooksOfAll Simplified Chinese","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/cn\/#organization","name":"BooksOfAll Simplified Chinese","url":"https:\/\/www.booksofall.com\/cn\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/cn\/wp-content\/uploads\/sites\/2\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Simplified Chinese"},"image":{"@id":"https:\/\/www.booksofall.com\/cn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product\/6880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/media\/6895"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/media?parent=6880"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_brand?post=6880"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_cat?post=6880"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/cn\/wp-json\/wp\/v2\/product_tag?post=6880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}