Table of Contents

Diagram View

Diagram View gives you a visual canvas where your model's tables, relationships, and hierarchies are laid out as an interactive diagram. It's the quickest way to understand a model's structure and make changes visually.

Switching to Diagram View

Use the view toggle in the toolbar to switch between Diagram View and Grid View. Your layout is saved per model, so you'll pick up right where you left off.

Working with Tables

Each table appears as a card showing its columns, measures, and hierarchies. You can:

  • Drag a table card by its header to reposition it on the canvas
  • Resize a table card by dragging the bottom-right corner
  • Double-click a column, measure, or hierarchy name to rename it inline
  • Right-click the table header for a context menu with options like Add Measure, Add Column, Add Hierarchy, Process Table, and more

Creating Relationships

To create a relationship, drag from a column on one table to a column on another:

  1. Click and hold on the source column.
  2. Drag to the target column on another table.
  3. The relationship dialog opens with cardinality and cross-filter direction pre-filled.
  4. Adjust if needed and confirm.

The relationship line appears immediately on the canvas.

Editing and Reversing Relationships

Right-click any relationship line to edit or delete it. To reverse a relationship's direction, open the edit dialog and swap the "From" and "To" tables.

Active relationships are drawn as solid lines. Inactive relationships are drawn as dashed lines.

Managing Hierarchies

  • Add a hierarchy: Right-click a table header and select Add Hierarchy
  • Add a column to a hierarchy: Right-click a column and choose from the Add to Hierarchy submenu
  • Reorder levels: Drag hierarchy levels to change their order
  • Delete a hierarchy: Right-click it and select Delete

Canvas Controls

Action How
Pan Click and drag on empty canvas space
Zoom Scroll wheel or pinch gesture
Select a table Click the table card
Context menu Right-click any element

Your layout, zoom level, and pan position are saved per model and restored when you reopen it.

Exporting the Diagram

You can export the diagram for use in documentation and presentations:

  • PNG: Raster image
  • SVG: Scalable vector graphic
  • PDF: Document format