{"id":6464,"date":"2022-05-30T01:16:44","date_gmt":"2022-05-30T01:16:44","guid":{"rendered":"https:\/\/www.booksofall.com\/pl\/?post_type=product&#038;p=6464"},"modified":"2022-06-15T03:27:10","modified_gmt":"2022-06-15T03:27:10","slug":"uml-interaction-diagram-notation","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/","title":{"rendered":"UML Interaction Diagram Notation"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p>The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams. Thus, it is advisable to at least skim the examples in this chapter and get familiar with the notation before moving on.<\/p>\n<p>The UML includes interaction diagrams to illustrate how objects interact via messages. This chapter introduces the notation, while subsequent chapters focus on using them in the context of learning and doing object design for the NextGen POS case study.<\/p>\n<h4>Read the Following Chapters for Design Guidelines<\/h4>\n<p>This chapter introduces notation. To create well-designed objects, design principles must also be understood. After acquiring some familiarity with the notation of interaction diagrams, it is important to study the following chapters on these principles and how to apply them while drawing interaction diagrams.<\/p>\n<h3>Sequence and Collaboration Diagrams<\/h3>\n<p>The term interaction diagram, is a generalization of two more specialized UML diagram types; both can be used to express similar message interactions:<\/p>\n<ul>\n<li>collaboration diagrams<\/li>\n<li>sequence diagrams<\/li>\n<\/ul>\n<p>Throughout the book, both types will be used, to emphasize the flexibility in choice.<\/p>\n<h4 id=\"firstHeading\" class=\"firstHeading mw-first-heading\">Sequence diagram<\/h4>\n<p>A\u00a0<b>sequence diagram<\/b>\u00a0or\u00a0<b>system sequence diagram<\/b>\u00a0(SSD) shows\u00a0<a title=\"Process (computing)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Process_(computing)\">process<\/a>\u00a0interactions arranged in time sequence in the field of\u00a0<a title=\"Software engineering\" href=\"https:\/\/en.wikipedia.org\/wiki\/Software_engineering\">software engineering<\/a>. It depicts the processes involved and the sequence of messages exchanged between the processes needed to carry out the functionality. Sequence diagrams are typically associated with use case realizations in the\u00a0<a title=\"4+1 architectural view model\" href=\"https:\/\/en.wikipedia.org\/wiki\/4%2B1_architectural_view_model\">4+1 architectural view model<\/a>\u00a0of the system under development. Sequence diagrams are sometimes called\u00a0<b>event diagrams<\/b>\u00a0or\u00a0<b>event scenarios<\/b>.<\/p>\n<p>For a particular scenario of a\u00a0<a title=\"Use case\" href=\"https:\/\/en.wikipedia.org\/wiki\/Use_case\">use case<\/a>, the diagrams show the events that external actors generate, their order, and possible inter-system events. All\u00a0<a title=\"Software system\" href=\"https:\/\/en.wikipedia.org\/wiki\/Software_system\">systems<\/a>\u00a0are treated as a\u00a0<a title=\"Black box\" href=\"https:\/\/en.wikipedia.org\/wiki\/Black_box\">black box<\/a>; the diagram places emphasis on events that cross the system boundary from actors to systems. A system sequence diagram should be done for the main success scenario of the\u00a0<a title=\"Use case\" href=\"https:\/\/en.wikipedia.org\/wiki\/Use_case\">use case<\/a>, and frequent or complex alternative scenarios.<\/p>\n<h5><span id=\"Key_elements\" class=\"mw-headline\">Key elements<\/span><\/h5>\n<p>A sequence diagram shows, as parallel vertical lines (<i>lifelines<\/i>), different processes or objects that live simultaneously, and, as horizontal arrows, the messages exchanged between them, in the order in which they occur. This allows the specification of simple runtime scenarios in a graphical manner.<\/p>\n<p>A system sequence diagram should specify and show the following:<\/p>\n<ul>\n<li>External actors<\/li>\n<li>Messages (methods) invoked by these actors<\/li>\n<li><a class=\"new\" title=\"Return values (page does not exist)\" href=\"https:\/\/en.wikipedia.org\/w\/index.php?title=Return_values&amp;action=edit&amp;redlink=1\">Return values<\/a>\u00a0(if any) associated with previous messages<\/li>\n<li>Indication of any loops or iteration area<\/li>\n<\/ul>\n<h4 id=\"firstHeading\" class=\"firstHeading mw-first-heading\">Communication diagram<\/h4>\n<p>A\u00a0<b>communication diagram<\/b>\u00a0in the\u00a0<a title=\"Unified Modeling Language\" href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Modeling_Language\">Unified Modeling Language<\/a>\u00a0(UML) 2.0, is a simplified version of the UML 1.x collaboration diagram.<sup id=\"cite_ref-Fowler2004_1-0\" class=\"reference\"><\/sup><\/p>\n<p>UML has four types of interaction diagrams:<\/p>\n<ul>\n<li><a title=\"Sequence diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Sequence_diagram\">Sequence diagram<\/a><\/li>\n<li>Communication diagram<\/li>\n<li><a title=\"Interaction overview diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Interaction_overview_diagram\">Interaction overview diagram<\/a><\/li>\n<li><a class=\"mw-redirect\" title=\"UML Timing Diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/UML_Timing_Diagram\">Timing diagram<\/a><\/li>\n<\/ul>\n<p>A Communication diagram models the interactions between objects or parts in terms of sequenced messages. Communication diagrams represent a combination of information taken from\u00a0<a title=\"Class diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Class_diagram\">Class<\/a>,\u00a0<a title=\"Sequence diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Sequence_diagram\">Sequence<\/a>, and\u00a0<a title=\"Use case diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Use_case_diagram\">Use Case Diagrams<\/a>\u00a0describing both the static structure and dynamic behavior of a system.<\/p>\n<p>However, communication diagrams use the free-form arrangement of objects and links as used in Object diagrams. In order to maintain the ordering of messages in such a free-form diagram, messages are labeled with a chronological number and placed near the link the message is sent over. Reading a communication diagram involves starting at message 1.0, and following the messages from object to object.<\/p>\n<p>Communication diagrams show much of the same information as sequence diagrams, but because of how the information is presented, some of it is easier to find in one diagram than the other. Communication diagrams show which elements each one interacts with better, but sequence diagrams show the order in which the interactions take place more clearly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/uml-interaction-diagram-notation-yxyxih4hw?enforceShowPromotionBar=true\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":6467,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams."},"product_brand":[],"product_cat":[213],"product_tag":[201],"class_list":{"0":"post-6464","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 Interaction Diagram Notation - BooksOfAll Polish<\/title>\n<meta name=\"description\" content=\"The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams.\" \/>\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\/pl\/uml-interaction-diagram-notation\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"UML Interaction Diagram Notation - BooksOfAll Polish\" \/>\n<meta property=\"og:description\" content=\"The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Polish\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-15T03:27:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minuty\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/\",\"url\":\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/\",\"name\":\"UML Interaction Diagram Notation - BooksOfAll Polish\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg\",\"datePublished\":\"2022-05-30T01:16:44+00:00\",\"dateModified\":\"2022-06-15T03:27:10+00:00\",\"description\":\"The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg\",\"width\":\"596\",\"height\":\"842\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/pl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/pl\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"UML Interaction Diagram Notation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/#website\",\"url\":\"https:\/\/www.booksofall.com\/pl\/\",\"name\":\"BooksOfAll Polish\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/pl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/#organization\",\"name\":\"BooksOfAll Polish\",\"url\":\"https:\/\/www.booksofall.com\/pl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Polish\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"UML Interaction Diagram Notation - BooksOfAll Polish","description":"The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams.","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\/pl\/uml-interaction-diagram-notation\/","og_locale":"pl_PL","og_type":"article","og_title":"UML Interaction Diagram Notation - BooksOfAll Polish","og_description":"The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams.","og_url":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/","og_site_name":"BooksOfAll Polish","article_modified_time":"2022-06-15T03:27:10+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg","twitter_misc":{"Szacowany czas czytania":"3 minuty"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/","url":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/","name":"UML Interaction Diagram Notation - BooksOfAll Polish","isPartOf":{"@id":"https:\/\/www.booksofall.com\/pl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg","datePublished":"2022-05-30T01:16:44+00:00","dateModified":"2022-06-15T03:27:10+00:00","description":"The following chapters explore object design. The language used to illustrate the designs is primarily interaction diagrams.","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#primaryimage","url":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg","contentUrl":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/img_62a18d456b224.jpeg","width":"596","height":"842"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/pl\/uml-interaction-diagram-notation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/pl\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/pl\/categories\/"},{"@type":"ListItem","position":3,"name":"UML Interaction Diagram Notation"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/pl\/#website","url":"https:\/\/www.booksofall.com\/pl\/","name":"BooksOfAll Polish","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/pl\/#organization","name":"BooksOfAll Polish","url":"https:\/\/www.booksofall.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Polish"},"image":{"@id":"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product\/6464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/media\/6467"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/media?parent=6464"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product_brand?post=6464"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product_cat?post=6464"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product_tag?post=6464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}