How to: Use Viewers in "Quadrant"
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
In Microsoft code name “Quadrant”, you can create a customized view of data by combining elements from different viewers. This topic walks through simple scenarios using the table, master/detail, tree, and diagram viewers. The figure below shows an example of what can be accomplished using these viewers.
Note
The tutorial uses the sample data that you install in How to: Install the "Quadrant" Sample Data.
The Table Viewer
The table viewer is best suited for surveying collections. Using a familiar grid of columns and rows, you can see and compare values for every entity in a collection.
To add and delete columns
On the View menu, click Explorer, and then click Repository.
Expand the Database node.
Expand the Microsoft.Samples.Organization node.
Drag the People node to an empty space on the workspace.
Alternatively, double-click the People node to automatically open it beside the Repository workpad.
Select the newly-opened People workpad.
On the Data menu, click Column Settings, and click Id to show or hide the column in the workpad.
The Column Settings menu displays all columns found in the schema for the table. You can customize which columns are displayed by selecting and clearing the appropriate names.
In the workpad, right-click any column header and click Column Settings, then click Middle Name to clear it. This is an alternative way of choosing columns to hide and display.
Repeat the last step to display the Computers column.
To change a column viewer
In the workpad, right-click the Computers column header to select it.
In the Data menu, click View Column As and select List.
The computers for the person are now shown in a list viewer. By changing the column viewer, you can customize the view of a table to display each column in the viewer that is most suitable for the data it contains.
Optional. Right-click any header in a workpad and click View Column As and select a column viewer.
The Tree Viewer
The tree viewer displays data as a hierarchy of nodes. This is well-suited to organization charts or data that has dependencies on other data.
To view an organization
In the Repository workpad, expand the Database node.
Expand the Microsoft.Samples.Organization node.
Double-click the OrganizationGroups node to open it in a new workpad.
Change the view of the OrganizationGroups workpad to Tree.
Expand the Business Analysts node.
Expand the PersonToOrganizationGroups node.
Expand each numbered node to see the Person folder, which contains the name of a business analyst.
For each name, expand the Tasks node to see a list of tasks for the person.
Double-click a task to see its details in a new workpad.
The Master/Detail Viewer
The master/detail and tree master/detail viewers display lists of data, allowing you to survey all items. To see details about the item, click an item in the left pane. The details appear in the right pane.
Note
By default, no item is selected when you first view a master/detail or tree/master detail viewer. Therefore, no details appear in the right pane until an item in the left pane is selected.
To use a master/detail viewer
In the Repository explorer, expand the Database node and find the Microsoft.Samples.Process node.
Expand the node and double-click Processes to open it in a new workpad.
Switch the view to a tree master/detail viewer.
Click Print Manager. The details for the entity will be displayed in a property viewer in the right pane.
Optional. Resize the master/detail panes by dragging the divider between the left and right panes.
To change the details pane viewer
From the left pane, drag the HR node to an empty space on the workpad.
Switch the workpad viewer to a tree viewer.
With the HR workpad selected, on the Workpad menu, click Set As Default View. The right pane of the master/detail viewer updates to show the HR in a tree viewer.
The details pane of a master/detail viewer is determined by the default view for the entity that is selected in the left pane.
The Diagram Viewer
The diagram viewer helps you view processes as a workflow.
To see a diagram viewer
In the Repository workpad, find the Processes node under the Microsoft.Samples.Process node.
Double-click Processes to open it in a new workpad.
In the Processes workpad, double-click Empty Process to open it in a new workpad.
Change the viewer for the Empty Process workpad to a diagram viewer.
See Also
Tasks
How to: Install the "Quadrant" Sample Data
Concepts
Other Resources
"Quadrant" Tutorials
How To: Create a New Model and View it in "Quadrant"
Viewing and Editing Data in "Quadrant"