All Products
Search
Document Center

DataWorks:Relationship diagram

Last Updated:Mar 27, 2026

A relationship diagram is a visual canvas for designing and communicating your data warehouse model architecture. Drag models onto the canvas, connect them to show data flows and dependencies, and annotate the layout with notes and groups. Each diagram represents one view of your data warehouse — create multiple diagrams in the same account to organize models by domain, team, or data layer.

Prerequisites

Before you begin, ensure that you have:

  • Completed data warehouse planning. The data warehouse architect must work with the data development and model design teams to define data layers, business categories, data domains, business processes, data marts, and subject areas. For details, see Data Warehouse Planning.

  • Created the models you want to visualize in Dimensional Modeling:

Open the relationship diagram page

  1. Log on to the DataWorks console. In the top navigation bar, select a region. In the left-side navigation pane, choose Data Development and O&M > Data Modeling. Select your workspace from the drop-down list, then click Go to Data Modeling.

  2. On the intelligent data modeling page, click Relationship Diagrams in the top menu bar.

    PixPin_2026-01-04_17-06-06

Build a data warehouse model architecture

Add models to the canvas

The To-Be-Added Objects panel on the left lists all models created in Data Modeling. Find the model you want in the directory tree and drag it to the canvas.

After adding a model to the canvas, click the image.png icon on the model, then click the image.png icon that appears above it to open the model details page.

Connect models

Select the Connection Line tool from the toolbar to create associations between models. These associations represent data flows or logical dependencies.

Double-click a connection line to add a description.

Annotate and organize

Use the following tools to document and structure your architecture:

  • Add Note: Click anywhere on the canvas to add a sticky note. Use notes to record design decisions, creation methods, or ownership information.

  • Add Text: Click anywhere to add a free-form text label.

  • Group: Select multiple elements and group them together. Groups support custom names and background colors and sit at the bottom layer of the canvas.

Save and export

The canvas saves automatically. To share the architecture diagram, click Export to download it as an image.

Manage diagrams at scale

Each account supports multiple relationship diagrams. When your model count grows, split diagrams by business domain or data layer to keep each diagram focused and easy to read.

After adding or modifying models in Dimensional Modeling or another module, click Refresh on the To-Be-Added Objects panel to update the model list. This does not affect the canvas content.

Canvas feature reference

Object icons

The following icons represent model types on the canvas:

Element

Description

image.png

Represents a conceptual model dimension.

image.png

Represents a logical model fact table.

image.png

Represents a logical model dimension table.

image.png

Represents a logical model application table.

image.png

Represents a logical model aggregate table.

image.png

Represents a note. Use notes to record information about the data warehouse model for easy reference. For example, record the method used to create the model architecture.

Toolbar icons

Toolbar icons are grouped by what you want to do.

Navigate and select

Icon

Name

Description

image.png

Select

Select elements such as models and notes on the canvas to move, edit, or delete them.

image.png

Move Canvas

Press and hold to pan the entire canvas.

image.png

Search

Locate elements on the canvas. Supports fuzzy search by Chinese name, English name, code, UUID, and by text box and note content.

image.png

Keyboard Shortcuts

View all supported keyboard shortcuts. For example, press Ctrl + Z to undo.

Add and connect

Icon

Name

Description

image.png

Connection Line

Connect two models to establish an association. The arrow indicates direction. Double-click the line to add a description.

image.png

Add Text

Click anywhere on the canvas to add a text box and enter a description.

image.png

Add Note

Click anywhere on the canvas to add a note.

image.png

Group

Select multiple elements to create a group. Groups support custom names and background colors and sit at the bottom layer of the canvas.

Edit and manage

Icon

Name

Description

image.png

Edit

Edit the content of a selected text box or note.

image.png

Delete

Delete the selected elements from the canvas.

Important

Deleting an element also deletes all other elements connected to it by lines.

image.png

Refresh

  • On the To-Be-Added Objects panel: After you add or modify a model in another module such as Dimensional Modeling, click this icon to refresh the To Add list. This does not affect the canvas content.

  • On the canvas toolbar: Refreshes the entire canvas.

What's next