{"id":7016,"date":"2022-06-02T01:50:21","date_gmt":"2022-06-02T01:50:21","guid":{"rendered":"https:\/\/www.booksofall.com\/es\/?post_type=product&#038;p=7016"},"modified":"2022-06-15T02:54:51","modified_gmt":"2022-06-15T02:54:51","slug":"omg-uml-tutorial-modeling-with-interaction-diagrams","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/","title":{"rendered":"OMG UML Tutorial: Modeling with Interaction Diagrams"},"content":{"rendered":"<h3><span id=\"Interaction_diagrams\" class=\"mw-headline\">Interaction diagrams<\/span><\/h3>\n<p>Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0<a class=\"mw-redirect\" title=\"Flow of control\" href=\"https:\/\/en.wikipedia.org\/wiki\/Flow_of_control\">flow of control<\/a>\u00a0and data among the things in the system being modeled. For example, the\u00a0<a title=\"Sequence diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Sequence_diagram\">sequence diagram<\/a>\u00a0shows how objects communicate with each other regarding a sequence of messages.<\/p>\n<p>\u2022 We are now starting to take a look at system dynamics<\/p>\n<p>\u2022 This will be a mid-level view<\/p>\n<ul>\n<li>We will look at interactions between (classes of) objects<\/li>\n<li>We will not look inside the (classes of) objects themselves<\/li>\n<\/ul>\n<p>\u2022 Generally speaking, there should be one interaction diagram for every use case<\/p>\n<p>\u2022 There are two kinds of interaction diagrams<\/p>\n<ul>\n<li>Collaboration Diagrams<\/li>\n<li>Sequence Diagrams<\/li>\n<\/ul>\n<h4>Collaboration 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<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","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/omg-uml-tutorial--modeling-with-interaction-diagrams-z2auclsp2?enforceShowPromotionBar=true\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":7027,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0flow of control\u00a0and data among the things in the system being modeled."},"product_brand":[],"product_cat":[213],"product_tag":[201],"class_list":{"0":"post-7016","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>OMG UML Tutorial: Modeling with Interaction Diagrams - BooksOfAll Spanish<\/title>\n<meta name=\"description\" content=\"Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0flow of control\u00a0and data among the things in the system being modeled.\" \/>\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\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OMG UML Tutorial: Modeling with Interaction Diagrams - BooksOfAll Spanish\" \/>\n<meta property=\"og:description\" content=\"Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0flow of control\u00a0and data among the things in the system being modeled.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Spanish\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-15T02:54:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/\",\"url\":\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/\",\"name\":\"OMG UML Tutorial: Modeling with Interaction Diagrams - BooksOfAll Spanish\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg\",\"datePublished\":\"2022-06-02T01:50:21+00:00\",\"dateModified\":\"2022-06-15T02:54:51+00:00\",\"description\":\"Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0flow of control\u00a0and data among the things in the system being modeled.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg\",\"width\":\"596\",\"height\":\"842\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/es\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"OMG UML Tutorial: Modeling with Interaction Diagrams\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/es\/#website\",\"url\":\"https:\/\/www.booksofall.com\/es\/\",\"name\":\"BooksOfAll Spanish\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/es\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/es\/#organization\",\"name\":\"BooksOfAll Spanish\",\"url\":\"https:\/\/www.booksofall.com\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Spanish\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OMG UML Tutorial: Modeling with Interaction Diagrams - BooksOfAll Spanish","description":"Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0flow of control\u00a0and data among the things in the system being modeled.","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\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/","og_locale":"es_ES","og_type":"article","og_title":"OMG UML Tutorial: Modeling with Interaction Diagrams - BooksOfAll Spanish","og_description":"Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0flow of control\u00a0and data among the things in the system being modeled.","og_url":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/","og_site_name":"BooksOfAll Spanish","article_modified_time":"2022-06-15T02:54:51+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg","twitter_misc":{"Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/","url":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/","name":"OMG UML Tutorial: Modeling with Interaction Diagrams - BooksOfAll Spanish","isPartOf":{"@id":"https:\/\/www.booksofall.com\/es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg","datePublished":"2022-06-02T01:50:21+00:00","dateModified":"2022-06-15T02:54:51+00:00","description":"Interaction diagrams, a subset of behavior diagrams, emphasize the\u00a0flow of control\u00a0and data among the things in the system being modeled.","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#primaryimage","url":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg","contentUrl":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/img_62a1988f7752b.jpeg","width":"596","height":"842"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/es\/omg-uml-tutorial-modeling-with-interaction-diagrams\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/es\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/es\/categories\/"},{"@type":"ListItem","position":3,"name":"OMG UML Tutorial: Modeling with Interaction Diagrams"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/es\/#website","url":"https:\/\/www.booksofall.com\/es\/","name":"BooksOfAll Spanish","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/es\/#organization","name":"BooksOfAll Spanish","url":"https:\/\/www.booksofall.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/es\/wp-content\/uploads\/sites\/5\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Spanish"},"image":{"@id":"https:\/\/www.booksofall.com\/es\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product\/7016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/media\/7027"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/media?parent=7016"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product_brand?post=7016"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product_cat?post=7016"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/es\/wp-json\/wp\/v2\/product_tag?post=7016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}