Impact Analysis with Matrix Diagram

Visual Paradigm for UML shows the dependency between model elements across the project by matrix diagram. This tutorial teaches how to use matrix diagram to check the relationships dependency between all classes within the project.

January 8, 2010
User Rating: / 3
Views: 6,246
PDF Link Add comments
Edition: Professional or above (Edition comparison)

Assume we have the following complex class diagram.
diagram
To perform impact analysis:
  1. Select File > New Diagram > Others > Matrix Diagram to create a matrix diagram.
    new matrix diagram
  2. You can specify the scope for the generating the matrix in either Project level, Diagram level or Model/Package level. Let's create the matrix in Project level.
  3. Let's create matrix base on the relationships of classes. Select Class in both Column and Row.
    column and row
  4. Then select Relationship in the By combo box.
    select relationship
  5. Let's construct the matrix based on associations between classes. Select Association in the Relationship combo box. Press OK to proceed.
    select relationship
  6. The matrix diagram based on the associations between classes has been generated.
    matrix diagram
  7. You can highlight specific column/row to see their relationship.
    select row
  8. The order of the element can be changed by right click on it and select Move Up/Move Down.
    move
  9. You do not need to repeat the entire procedure to create matrix for other relationship. This can be done directly inside the matrix by selecting the Relationship combo box. Let's change the matrix to showing Generalization.
    generalization
  10. Now the matrix has been switched to become showing generalization.
    generalization matrix
  11. To go to the element in diagram, simply right click and select Open.
    open
  12. The containing diagram will be opened and the shape will be focused if it only appears in one diagram. Otherwise the Show View dialog will be prompted and let you to specify which diagram you would like to open.
    show view
  13. You can also export the matrix into excel by pressing the Export to Excel button on the right hand side of the matrix, and specify the destination location.
    export to excel
  14. And here is the exported excel document.
    excel

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Writing Effective Use Case
  2. UML Package Diagram
    Tagged:
  3. Draw Entity Relationship Diagram (ERD)
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Draw UML Sequence Diagram with Keyboard
Tags of this article:

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code