Show in Frame No Frame
Up Previous Next Title Page Index Contents Search

4.2.5 Viewing and formatting

The Matrix Editor offers a wide variety of options to modify the layout and representation of a matrix. The following lists these features and their uses.
*Swapping axes. You can swap the axes of the matrix by choosing Axis | Swap Axes.
*Hiding or showing symbols of axis objects. If the language in use has graphical symbols you can choose whether you want to see them in the matrix. Basically three possibilities are available: to see only the text for the objects, or only the symbols of the objects, or both the text and the symbols. This function can be accessed from the Axis menu or from the toolbar buttons shown in Figure 4–33.

Axis show options

Figure 4–33. Toolbar buttons for hiding/showing symbols of axis objects.

*Hiding or showing symbols of cell relationships/roles. As with objects, you can also choose whether you want to see the textual description of relationships/roles, their symbols or both. These options can be selected from the Cell menu or from the toolbar buttons shown in Figure 4–34.

Cell show options

Figure 4–34. Toolbar buttons for hiding/showing symbols of cell relationship or roles.

*Hiding columns. To temporarily hide an object on the horizontal axis select Hide or Show from the pop-up menu of the column. The command View | Show All Columns automatically shows all the objects that have been hidden.
*Hiding duplicate relationships. To omit relationships that exist more than once in the matrix when the related objects are in both axes, check View | Directed?.
*Viewing relationships or roles. Depending on the matrix representation you may want to show either the relationship or one of the roles in a cell: the role attached to the object of the cell’s column, or that attached to the object of the cell’s row. To set different viewing options select them from the View menu. Viewing options are also available on the toolbar buttons shown in Figure 4–35.

Buttons for matrix cell content

Figure 4–35. Toolbar buttons for relationship and role viewing options.

*Viewing of properties. The kind of text displayed for each role or relationship in a cell can be modified. By selecting Cell | Text Display... the dialog in Figure 4–36 opens showing the possible options. For example by selecting “Just an ‘X’” the appearance of the matrix changes to that in Figure 4–37.

Selecting option for text display

Figure 4–36. Selecting option for text display.

Matrix Editor - just x

Figure 4–37. ‘Just an X’ display in a matrix.

 You can also hide those elements in the cells that do not have any properties by selecting Cell | Hide Propertyless?. Otherwise those elements are displayed as the name of their type.
*Choosing fonts. By selecting Format | Font... a dialog opens allowing you to choose a font and style for your purposes. The fonts available are generic descriptions, rather than specific fonts available on your computer. Using specific fonts would result in problems when moving to a different computer or platform with a different set of fonts.
*Setting widths of columns. Column widths can be adjusted by selecting Format | Column Widths.... This opens a dialog for setting each column width. Figure 4–38 shows the Column Widths Tool: start and end show which columns the setting will affect. You can set the width with the slider, which is to the same scale as the actual column width. If your column is wider than the dialog, you can make the dialog wider by dragging the bottom-right resize corner; you can also type the width in pixels directly in the Width box. To apply your changes press Save & Close. You can make changes to multiple ranges by pressing Save and then selecting a new range and width.

Column widths tool

Figure 4–38. Column Widths tool.

*Setting row labels’ width. As with column widths, you can also set the width of the row labels, i.e. the width of the vertical axis. To do this select Format | Row Labels’ Width... (Figure 4–39).

Row label width tool

Figure 4–39. Setting row labels’ width.

*Autowidth, chosen either from the Format menu or from the toolbar, automatically sets row and column widths according to the longest axis element.
*Showing the whole matrix. The View | Fit Window to Matrix command (also available on the toolbar) scales the window to show the whole of the matrix. If the matrix is larger than your screen, your operating system may force the window to be smaller than the matrix.
*Refreshing the Matrix Editor. Refreshing the matrix is needed when changes made to the conceptual graph by some other editor or changes made to the underlying metamodel need to be propagated to the currently open matrix. To do this, select View | Refresh (or press F5).

Show in Frame No Frame
Up Previous Next Title Page Index Contents Search