Demo introducing Dependency Matix.
This functionality is available in Standard, Professional, Architect, and Enterprise editions only.
The Dependency Matrix is a quick method for representing dependencies compactly. Diagrams, UML elements, and extended UML elements serve as row and column entries. The cells in the matrix show where these elements are associated (related).
Dependency matrices can show dependency criteria, such as
- UML relationships
- BPML, SysML, UPDM, and other DSL relationships
- Semantic dependencies (dependencies through properties)
- Relationships through tags (tags allow for relating UML elements that cannot be represented on the same diagram)
- Transitive relationships (through the OCL or meta chain)
Dependency matrices are useful for
- Quickly visualizing and creating dependency criteria.
- Compactly visualizing relations of a large system whose system relations cannot be represented by a diagram on a single sheet of paper due to the size of the system.
- Studying relations from a particular scope and type of element by filtering the unimportant data. Hierarchical columns allow for browsing directly in the created matrix through the model scope and visualize the required area.
Showing relations that cannot be represented on diagrams, such as a representation (a class by the lifeline), a behavior representation in other diagrams, an operation representation by Call Behavior Action, Use Case relations with describing activities through the property Owned Behavior, etc. The semantic dependency matrix is needed for deeper model analysis. The Dependency Matrix allows the representation of any kind of relations through element properties.
Property name | Description |
Dependency Matrix | |
Legend Location | Select to choose the location of the legend (Top-Left Corner or Above Column Header) or set the Do Not Display mode to keep it hidden. |
Take Whole Model As Scope | Set to true to select the whole model as a scope for relation analysis. The root package Model will be selected by default in both the Row Scope and Column Scope boxes. |
Direction | Select a direction of relationships for the relation analysis and representation in the dependency matrix. Be aware that new relationships will be created with the selected direction. |
Dependency Criteria | Specify the relationships between row and column elements you need to display in the dependency matrix cells. |
Show Elements | Select to show only related (by a selected dependency criteria), only non- related, or all elements. |
Show Inner Dependencies | Set to true to show the number of relationships in every owning element cell. |
Suppress Criteria Area | Set to true to suppress the Criteria area toolbar. |
Read Only | Set to true to make the matrix read-only. You will not be able to create or delete relationships. |
Description Area | Type the description for the dependency matrix. The text will be displayed in the description area of the matrix. |
Hide Types | Set to true to hide the Row Element Type and Column Element Type boxes from the Criteria area. |
Hide Scope | Set to true to hide the Row Element Scope and Column Element Scope boxes from the Criteria area. |
Hide Dependency Criteria | Set to true to hide the Dependency Criteria and Direction boxes from the Criteria area. |
Column | |
Column Scope Defined | Set to true to take empty scope as a whole model. |
Column Types Include Subtypes | Set to true to display subtypes of selected element types. |
Column Owner Display Mode |
|
Column Text Direction | Specify the direction of the text in the column header. Be aware that this property value can be applied only when the Column Owner Display Mode property value is Hidden or Full qualified name. |
Column Element Type | Specify the element types to show in the columns of the dependency matrix. |
Column Query | Select Containment or Custom to specify the expression to collect row elements. |
Column Property Filter | Select properties and their values to create more specific filters for column elements. |
Column Header Height | Specify the height of the column header in pixels. |
Column Types Include Subtypes | Set to true to display subtypes of selected element types. For example, if a class is selected, then all its subtypes (such as component or custom subtypes like SysML block) and requirements will be displayed. |
Row | |
Row Scope Defined | Set to true to take empty scope as a whole model. |
Row Types Include Subtypes | Set to true to display the subtypes of selected element types. For example, if a class is selected, all its subtypes (such as component or custom subtypes like SysML block) and requirements will be displayed. |
Row Owner Display Mode |
|
Row Element Type | Specify the element types to show in the rows of the dependency matrix. |
Row Query | Select Containment or Custom to specify the expression to collect row elements. |
Row Property Filter | Select properties and their values to create more specific filters for row elements. |
Row Sorting Mode | Sort elements in an Ascending, Descending, or a Custom sorting order. |
Row Header Width | Specify the width of the row header in pixels. |
Related pages