{"id":6498,"date":"2022-05-30T03:08:11","date_gmt":"2022-05-30T03:08:11","guid":{"rendered":"https:\/\/www.booksofall.com\/in\/?post_type=product&#038;p=6498"},"modified":"2022-06-15T03:27:38","modified_gmt":"2022-06-15T03:27:38","slug":"uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/","title":{"rendered":"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling"},"content":{"rendered":"<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<h3>State Diagrams<\/h3>\n<p><b>UML state machine<\/b>, also known as\u00a0<b>UML statechart<\/b>, is an extension of the\u00a0<a title=\"Mathematics\" href=\"https:\/\/en.wikipedia.org\/wiki\/Mathematics\">mathematical<\/a>\u00a0concept of a\u00a0<a title=\"Finite-state machine\" href=\"https:\/\/en.wikipedia.org\/wiki\/Finite-state_machine\">finite automaton<\/a>\u00a0in\u00a0<a title=\"Computer science\" href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_science\">computer science<\/a>\u00a0applications as expressed in the\u00a0<a title=\"Unified Modeling Language\" href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Modeling_Language\">Unified Modeling Language<\/a>\u00a0(UML) notation.<\/p>\n<p>The concepts behind it are about organizing the way a device, computer program, or other (often technical) process works such that an entity or each of its sub-entities is always in exactly one of a number of possible states and where there are well-defined conditional transitions between these states.<\/p>\n<p>UML state machine is an object-based variant of\u00a0<a class=\"mw-redirect\" title=\"Harel statechart\" href=\"https:\/\/en.wikipedia.org\/wiki\/Harel_statechart\">Harel statechart<\/a>, adapted and extended by UML. The goal of UML state machines is to overcome the main limitations of traditional\u00a0<a title=\"Finite-state machine\" href=\"https:\/\/en.wikipedia.org\/wiki\/Finite-state_machine\">finite-state machines<\/a>\u00a0while retaining their main benefits. UML statecharts introduce the new concepts of\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/UML_state_machine#Hierarchically_nested_states\">hierarchically nested states<\/a>\u00a0and\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/UML_state_machine#Orthogonal_regions\">orthogonal regions<\/a>, while extending the notion of\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/UML_state_machine#Actions_and_transitions\">actions<\/a>. UML state machines have the characteristics of both\u00a0<a title=\"Mealy machine\" href=\"https:\/\/en.wikipedia.org\/wiki\/Mealy_machine\">Mealy machines<\/a>\u00a0and\u00a0<a title=\"Moore machine\" href=\"https:\/\/en.wikipedia.org\/wiki\/Moore_machine\">Moore machines<\/a>. They support\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/UML_state_machine#Actions_and_transitions\">actions<\/a>\u00a0that depend on both the state of the system and the triggering\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/UML_state_machine#Events\">event<\/a>, as in Mealy machines, as well as\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/UML_state_machine#Entry_and_exit_actions\">entry and exit actions<\/a>, which are associated with states rather than transitions, as in Moore machines.<\/p>\n<p>The term &#8220;UML state machine&#8221; can refer to two kinds of state machines:\u00a0<i>behavioral state machines<\/i>\u00a0and\u00a0<i>protocol state machines<\/i>. Behavioral state machines can be used to model the behavior of individual entities (e.g., class instances), a subsystem, a package, or even an entire system. Protocol state machines are used to express usage protocols and can be used to specify the legal usage scenarios of classifiers, interfaces, and ports.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 480px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/uml-lecture--uml-activity-diagrams-state-diagrams-and-modeling-yy2uslfh3?enforceShowPromotionBar=true\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":6505,"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-6498","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>UML Lecture: UML Activity Diagrams, State Diagrams and Modeling - BooksOffAll Indian<\/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\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/\" \/>\n<meta property=\"og:locale\" content=\"hi_IN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling - BooksOffAll Indian\" \/>\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\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOffAll Indian\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-15T03:27:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 \u092e\u093f\u0928\u091f\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/\",\"url\":\"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/\",\"name\":\"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling - BooksOffAll Indian\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg\",\"datePublished\":\"2022-05-30T03:08:11+00:00\",\"dateModified\":\"2022-06-15T03:27:38+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\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#breadcrumb\"},\"inLanguage\":\"hi-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"hi-IN\",\"@id\":\"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg\",\"width\":\"596\",\"height\":\"842\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/in\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#website\",\"url\":\"https:\/\/www.booksofall.com\/in\/\",\"name\":\"BooksOffAll Indian\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"hi-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#organization\",\"name\":\"BooksOffAll Indian\",\"url\":\"https:\/\/www.booksofall.com\/in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"hi-IN\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOffAll Indian\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling - BooksOffAll Indian","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\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/","og_locale":"hi_IN","og_type":"article","og_title":"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling - BooksOffAll Indian","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\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/","og_site_name":"BooksOffAll Indian","article_modified_time":"2022-06-15T03:27:38+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg","twitter_misc":{"\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f":"3 \u092e\u093f\u0928\u091f"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/","url":"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/","name":"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling - BooksOffAll Indian","isPartOf":{"@id":"https:\/\/www.booksofall.com\/in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg","datePublished":"2022-05-30T03:08:11+00:00","dateModified":"2022-06-15T03:27:38+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\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#breadcrumb"},"inLanguage":"hi-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/"]}]},{"@type":"ImageObject","inLanguage":"hi-IN","@id":"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#primaryimage","url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg","contentUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a18fa060c9a.jpeg","width":"596","height":"842"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/in\/uml-lecture-uml-activity-diagrams-state-diagrams-and-modeling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/in\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/in\/categories\/"},{"@type":"ListItem","position":3,"name":"UML Lecture: UML Activity Diagrams, State Diagrams and Modeling"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/in\/#website","url":"https:\/\/www.booksofall.com\/in\/","name":"BooksOffAll Indian","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"hi-IN"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/in\/#organization","name":"BooksOffAll Indian","url":"https:\/\/www.booksofall.com\/in\/","logo":{"@type":"ImageObject","inLanguage":"hi-IN","@id":"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOffAll Indian"},"image":{"@id":"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product\/6498","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/media\/6505"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/media?parent=6498"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_brand?post=6498"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_cat?post=6498"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_tag?post=6498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}