1. Home
2. Docs
3. Chapter 19. Impact Analysis
4. 2. Analysis Diagram
5. How to use Analysis Diagram to visualize dependencies between elements

# How to use Analysis Diagram to visualize dependencies between elements

We analyze a model element when we want to identify its related elements so as to foresee the potential impact that may cause on the model resulted by modifying the model element. The term “related” here represents any kinds of connection that can have between two elements, such as a general to-and-from relationship, a parent-child relationship, transitor, or even a sub-diagram relationship with a diagram.

## To analyze a model element

By analyzing a model element, you can know its relationships with other elements. To analyze:

1. Right click on the diagram element we want to analyze and select Related Elements > Analysis… from the pop-up menu. 2. The result of analysis will be presented in analysis diagram. In the Analysis window, either select Create new diagram to present the result in a new analysis diagram or select to present in an existing analysis diagram. The check boxes at the Analyse section governs the type(s) of relationship to be analyzed. Click OK when ready. Type Description
Transitor The transited element of the chosen element or the element where the chosen element was transited from
Reference The shape or diagram references of the chosen element
Parent-Child The parent (e.g. package) or the child of the chosen element
Sub-diagram The sub-diagram(s) of the chosen element
Relationship The relationship(s) of the chosen element, such as association, dependencies, sequence flow, etc
Used The connection with the chosen element, other than any other kinds of relationship types. For example, requirement owned by use case added through use case description is a kind of Used relationship.
View The view(s) of a model element, which can be seen as the shapes of a model element
Composited model properties The composited model element(s) of a model element. It means any property that composited another model element. An example would be Class’s code details element.
3. Unlike other diagrams, analysis diagram will not be saved in a project file by default. This means that when you restart the application, you will not see the analysis diagrams created before, no matter you had performed a project saving or not. If you want an analysis diagram be saved into the project, click the Make Persistable Now button below the breadcrumb of the analysis diagram. Once clicked, the diagram will be saved into the project file the next time you perform a project saving. Note that you cannot change a diagram back to not persistable. If you don’t need the diagram anymore, consider to delete it. The result of analysis is shown in an analysis diagram. The oval node at the center of the diagram represents the element you have chosen to analyze, the connectors branching out are the relationships with the analyzing element and the nodes at the opposite end of connectors are the related elements.

Inside a node of a related element, you can see a tag (e.g. <<View>>) which represents the type of that related element. At the bottom part of a node box is the name of the related element.

By reading the diagram, you can identify the relationship of a model element and determine the impact that may act upon the model when modifying the model element.

## Analyze further

Analysis diagram allows you to visualize the relationships between a model element and its related elements. If you want to visualize the relationship between a related element with its related elements, you can analyze further by performing the steps below:

1. Move your mouse pointer over the related node in the analysis diagram. 2. Click on the Analyze resource.
3. Select the type of relationship to be analyzed. Note that by analyzing multiple model elements on the same analysis diagram, the diagram may contain a lot of nodes and connectors, making it hard to read and understand. To solve this problem, you may consider showing the result in another analysis diagram by selecting Analyse in New Diagram… in the step above.
{"ft_lang_label":"__label__en","ft_lang_prob":0.8845238,"math_prob":0.89777696,"size":3946,"snap":"2022-27-2022-33","text_gpt3_token_len":768,"char_repetition_ratio":0.21461187,"word_repetition_ratio":0.0030721966,"special_character_ratio":0.191333,"punctuation_ratio":0.08528198,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9524111,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12],"im_url_duplicate_count":[null,7,null,7,null,7,null,7,null,7,null,7,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-06T13:16:33Z\",\"WARC-Record-ID\":\"<urn:uuid:94bb9d7c-baf0-4bc0-8c2f-7637d1774afe>\",\"Content-Length\":\"70837\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:f9afe80a-3754-45b1-8ea8-bbea60bf8826>\",\"WARC-Concurrent-To\":\"<urn:uuid:840839f3-8d7e-40e9-a4e8-27368d3edf45>\",\"WARC-IP-Address\":\"172.67.68.84\",\"WARC-Target-URI\":\"https://circle.visual-paradigm.com/docs/impact-analysis/analysis-diagram/how-to-use-analysis-diagram-to-visualize-dependencies-between-elements/\",\"WARC-Payload-Digest\":\"sha1:LV47LM6DRZM3K2LJGX6BZX56OO3G433X\",\"WARC-Block-Digest\":\"sha1:GJZBVHFWJ7RFHHYLPKSRUMVPGNMMHDCQ\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104672585.89_warc_CC-MAIN-20220706121103-20220706151103-00491.warc.gz\"}"}