# Pipeline canvas

> Build a DDL pipeline on the project canvas: add data, read node statuses and why a node is blocked, sync, rerun or stop nodes, and open a node's page.

Source: https://dev.delman-guide.pages.dev/pipelines

The Pipeline page is where a project's data work happens. Every table that the project imports, builds or sends out is a **node**, and the lines between nodes show which node reads which. DDL keeps the pipeline current on its own: when a node gets new data, every node downstream of it runs again.

<Tour id="pipelines" />

A project opens on this page (`/projects/<id>`). From elsewhere in the project, click **Pipeline** in the project menu.

> Screenshot: The Pipeline page of Demo Project on the Canvas view: the dataset nodes demo_orders, demo_products and demo_customers linked to the SQL node orders_enriched and its copy orders_clean, the source node Analytics warehouse with its imported table store_visits, and the dataset nodes demo_orders_archive and crm_customers, with the toolbar at the top right and the minimap at the bottom right. Demo Project on the canvas. Data flows from left to right; the coloured dot on each node is its status.

## What is on the page

- **Header**: the project name, the breadcrumbs **Home / Projects / Pipeline** and the [toolbar](#the-toolbar).
- **View switcher**: **Groups**, **Canvas**, **List** and **Lineage**. This page covers **Canvas**. The other views are explained in [List, Lineage and Groups](/pipeline-views).
- **Canvas**: the drawing of the pipeline, with **Search Dataset**, **Reset Filter** and, if you may edit the project, **Arrange nodes**. Zoom and fit buttons sit at the bottom left, the minimap at the bottom right. Phones have no minimap.
- **Side panel**: opens on the right when you click a node or a toolbar action. ✕ closes it.

## The toolbar

| Control | What it does |
|---|---|
| **Transfer** | Copies tables from an import connection straight to an export connection, as a transfer node. See [Transfer to another connection](/transforms#transfer-to-another-connection). |
| **Versions** | Shows the data a node held at an earlier time. See [Versions](/projects#versions). |
| **Share** | Opens **Share Project**. Shown to the owner, to people with **Share Project(View)** and to superadmins. See [Share a project](/projects#share-a-project). |
| **New agent** | Opens **New agent** in the AI workspace with this project picked. Only when the AI Assistant is available; see [Agent Studio](/agent-studio). |
| **Add data** | Adds a file, a connection or a Data Repository dataset. See [Add data](#add-data). |
| **Transform** | Opens **Transform Data** to build a new node from existing ones. See [Transforms](/transforms). |
| **Project Locked** | Red, only while the project is locked. Hover it and click **Unlock Project**. See [Lock a project](/projects#lock-a-project). |

**Transfer**, **Versions**, **Share** and **New agent** form one group. On screens narrower than 1280 pixels they show only their icons; hover an icon to read its name, such as **Transfer to Other Connection** or **Project versions**.

**Add data**, **Transform** and **Transfer** need the **Modify Project** permission and are disabled while the project is locked.

### On a phone

The toolbar keeps **Add data**, as an icon, and **Transform**. The other tools move to **⋯** (**More project actions**), which opens the **Project actions** sheet from the bottom of the screen. Each item has a one-line description:

| Item | Description in the sheet |
|---|---|
| **Transfer to another connection** | Send node data to a database connection |
| **Version history** | See the data of a node at an earlier time |
| **Share project** | Invite people and choose what they can do |
| **Create agent from this project** | An AI agent that already knows this project's tables |

**Share project** appears only if you may share the project, and **Create agent from this project** only when the AI Assistant is available.

> Screenshot: DDL on a phone: the Demo Project pipeline with the Project actions sheet open from the bottom, listing Transfer to another connection, Version history, Share project and Create agent from this project, each with a one-line description. On a phone, ⋯ opens the project tools as a sheet.

## Add data

**Add data** opens the **Select Connection Type** panel. The search box above the cards filters them by name.

| Tab | Cards | What you get |
|---|---|---|
| **New Connection (External)** | One card per connector, then **Upload File**. Your own connectors follow under **Custom Connector**, where **Manage** opens their list. | A file node, or a new import connection with its source node |
| **Data Repository (Internal)** | Your Data Repository datasets, eight per page. The panel title becomes **Select Dataset**. | A dataset node |

> Screenshot: The Select Connection Type side panel on the New Connection (External) tab with its search box, scrolled to the end of the cards: Salesforce, Microsoft SharePoint and Upload File, then the Custom Connector section with Manage and the card demo_rest_api, above the Back and Continue buttons. Add data: connectors, Upload File and your custom connectors on the first tab, your Data Repository datasets on the second.

### Import a Data Repository dataset

1. Click **Add data** and open the **Data Repository (Internal)** tab.
2. Click a dataset card, for example **demo_customers**, then **Continue**. Click a selected card again to unselect it.
3. In **Import this dataset**, check the node name in **Save As**. It must be unique in the project.
4. Optionally switch on **Auto Sync from dataset source**, so that the node updates itself when the dataset changes.
5. Click **Import Dataset**. DDL confirms with *Successfully imported demo_customers as a node*.

More about dataset nodes and Auto Sync: [Use a dataset in a project](/data-repository#use-a-dataset-in-a-project).

### Upload a file

1. Click **Add data**, then the **Upload File** card on the **New Connection (External)** tab, and **Continue**.
2. Choose a CSV, Excel (`.xlsx`, `.xls`), JSON or Parquet file. For an Excel file, pick the sheet in **Select Sheet**. Check the preview and click **Continue**.
3. In **Save this file**, check the node name in **Save As**. It starts as the file name without its extension.
4. Switch on **Save to Data Repository** if other projects should be able to use the file too.
5. Click **Import File**. DDL confirms with *File … Uploaded* and adds a file node.

To replace the file later, use **Update File** in the node's ⋮ menu. Everything downstream runs again with the new data.

### Connect a database or another system

1. Click **Add data**, choose a connector card on **New Connection (External)**, for example **PostgreSQL**, and click **Continue**.
2. Fill in the connection form and click **Continue**. DDL tests the connection before it moves on.
3. Type a name in **Save Connection as**, for example `Analytics warehouse`, and click **Save and use in this Project**.

DDL saves an import connection and adds its **source node**, named after the connection. A source node holds no data itself: you choose next what to import from it. The forms of each connector are described in [Connections](/connections#connector-reference).

### Import tables from a source node

1. Click the source node, for example **Analytics warehouse**.
2. In its side panel, click **Import Data** › **Import to DDL**. The panel shows **Create new import node**.
3. Fill in what to import. For a database connection:
   - **Import method**: **Import table**, then **Schema** and **Table**; or **SQL query**, then the query.
   - **Sync method**: what each sync does with the data already imported: **Drop old data before inserting**, **Append new data**, or **Insert new data and update existing data** (then pick the **Upsert primary keys**).
   - Optional filters for big tables: **Fetch from last offset** with an **Offset column**, or **Fetch from last x day(s)** with **Column**, **Day(s)** and **Timezone**.
   - Optional: **Only import selected column(s)** and **Cast selected column(s)**.
4. Type the node name in **Save as**. The field opens once the required parameters are filled.
5. Click **Preview** to check the rows, then **Save**.

> Screenshot: The side panel of the source node Analytics warehouse showing Create new import node: Import method Import table, Schema public, Table store_visits, the Fetch from last offset and Fetch from last x day(s) options, Sync method Drop old data before inserting, Only import selected column(s), Cast selected column(s) and Save as store_visits_2, above the Cancel, Preview and Save buttons. Import to DDL: pick the table and the sync method, name the node, preview, save.

DDL adds a node for the imported table, linked to the source node, and starts the import. Other connectors ask for their own parameters, such as a file path, a sheet or a collection.

Each import is listed on the source node's side panel. Its card shows the import status. ▶ (**Sync now**) runs that import again, and ■ (**Stop sync**) stops it while it runs. The card's ⋮ menu has **Edit**, to change the parameters (keep **Sync data after update** ticked to re-import right away, then **Update**), and **History**.

## Nodes and edges

| Node | How it looks | Holds data | Created by |
|---|---|---|---|
| Source node | The connector's logo, a database icon at the top left, no input on its left side | No. It lists the imports made from it. | **Add data** › a connector |
| File node | A file icon at the top left, no input | Yes | **Add data** › **Upload File** |
| Dataset node | A database icon at the top left, no input | Yes, a copy of the dataset | **Add data** › **Data Repository (Internal)** |
| Transform node | An input on the left and an output on the right | Yes | **Import to DDL**, **Transform**, **Duplicate**, the AI Assistant |
| Transfer node | Round | No. It moves data between two connections. | **Transfer** |

DDL draws an **edge** from every node to each node that reads it. You cannot draw or delete an edge by hand: edges follow from how a node is defined, for example from the nodes that a SQL query names. Nodes stay where DDL places them unless you [arrange them](#arrange-nodes).

Besides its name and status dot, a node can carry:

- a chip above a transform node that is scheduled or running, showing its current step, such as **SCHEDULED**, **TRANSFORMING** or **EXPORTING**. Hover the chip and it turns into **Stop**; on a touch screen, tap it once to show **Stop**.
- **Rerun** above a selected transform node that can run again.
- a cloud icon at the bottom right: the status of its export (**Success**, **Running**, **Failed**, **Upstream Failed** or **Pending**).
- an ⓘ on a dataset node that is behind its dataset: *Sync to use the most updated data*.
- an **AI** badge (*Created by an AI plan*) on nodes that the AI Assistant built.

| To | Do this |
|---|---|
| Select a node and open its side panel | Click it |
| Open the node page of a file or transform node | Double-click it |
| Open the node's menu: **Show lineage**, **Show in list**, **Open node page** | Right-click it. On a touch screen, press and hold. |
| Move around | Drag the background; zoom with the wheel or the buttons at the bottom left |

**Open node page** is greyed out, and double-clicking does nothing, for source, dataset and transfer nodes. Source and transfer nodes have no node page; for a dataset node, use **View** in its side panel.

## Node statuses

The dot at the top right of a node shows its status. Hover the dot to read it.

| Status | Dot | Meaning |
|---|---|---|
| **Created** | Green | The node was built and holds data. |
| **Success** | Green | The node's last run succeeded. |
| **Running** | Blue | DDL is creating, updating or transforming the node. |
| **Running ID Match Automation** | Blue | An [Identity Matching](/transforms#identity-matching) automation runs. |
| **Scheduled** | Grey | The node will run as soon as the nodes it waits for are done. |
| **Failed** | Red | The node's own run failed. |
| **Failed to Create** | Red | The first build of the node failed. Retry it or delete the node. |
| **Upstream Failed** | Yellow | The node did not run because a node upstream of it failed. |

Transfer nodes report their transfers instead: **Pending**, **Running**, **Success** or **Failed**.

The status filter of the List view, the lineage and **Project health** count an **Upstream Failed** node as **Waiting**: it waits for the failed node to be fixed. There, **Failed** is kept for nodes that failed themselves.

### Why a node is blocked or waiting

For a transform node with the status **Upstream Failed** or **Scheduled**, DDL names the upstream nodes behind it:

- Hover the status dot. Under the status, the tooltip says, for example, *Blocked by failed node: cost_per_city*, or *Waiting for: orders_enriched*. Long lists end with "and 2 more".
- In the side panel, the **Node overview** box shows the same text in its **Status** row.

> Screenshot: The canvas of Marketing Sandbox: campaign_costs feeds cost_per_city, whose dot is red, and cost_per_city and orders_enriched feed city_margin; the tooltip of the yellow status dot of city_margin reads Upstream Failed and Blocked by failed node: cost_per_city. Hover the status dot of a blocked node to see which upstream node stops it.

DDL finds the cause like this:

- **Blocked by failed node**: the nearest upstream nodes that failed themselves, looking through other **Upstream Failed** nodes on the way.
- **Waiting for**: the upstream nodes that are running now; if none runs, the nearest **Scheduled** ones. If nothing upstream runs and a parent has failed, the node is blocked instead.

Fix the node that failed, then rerun it: the waiting nodes follow by themselves. [Lineage](/pipeline-views#lineage-view) shows the whole chain at once.

## The node side panel

Click a node to open its side panel. The top part is the same for every node:

- The node name, with ✎ to rename it, and a line that says where the data comes from, such as *This node is result of Transform SQL Query* or *This node is result of File Upload.*
- With the AI Assistant: **Ask AI**, or **Diagnose & fix** on a failed node, and **Audit with AI** in the menu next to it. See [AI Assistant](/ai-assistant).
- On touch screens: **Open node page**, which replaces the double-click.
- The **Node overview** box:

| Row or button | Shows or does |
|---|---|
| **Last run** | When the node last ran, how long it took and the result, for example "5 minutes ago · took 12s · success". **No run yet** for a node that never ran. |
| **Status** | Only for **Upstream Failed** and **Scheduled** nodes: [the reason](#why-a-node-is-blocked-or-waiting). |
| **Result table** | The size of the node's table. **Count rows & columns** counts them on request. |
| **Lineage** | How many nodes are upstream and downstream at every level, how many are direct neighbours, how many failed or wait, and a small drawing of the direct neighbours. Click a neighbour to select it. |
| **Last error** | For a node that failed: the last lines of its log and the time. The full log is on the **Process** tab. |
| **Show lineage** | Opens the [Lineage view](/pipeline-views#lineage-view) of this node. |
| **Rerun** | Runs a transform node and everything downstream again, after a confirmation. |

> Screenshot: The side panel of the node orders_enriched: the name with the rename pencil and Ask AI, the line This node is result of Transform SQL Query, the Node overview box with Rerun, Show lineage, Last run, Result table 500 rows · 12 columns and the lineage counts with a small drawing of the neighbouring nodes, the View, Duplicate and Data Repository buttons, and the Data tab with Preview Data. The side panel of a transform node: Node overview first, then actions, data and processes.

The rest depends on the node:

| Node | Buttons | ⋮ menu | Below |
|---|---|---|---|
| Transform | **View**, **Duplicate**, **Data Repository** | **Download As**, **Export Data**, **Publish to Cloud**, the edit item of its transform (such as **Edit SQL Query**), **Delete from Project** | **Data** and **Process** tabs |
| File | **View**, **Duplicate**, **Data Repository** | **Update File**, **Delete from Project** | **Data** and **Process** tabs |
| Dataset | **View**, **Duplicate**, **Sync** | **Delete from Project** | **Auto Sync from dataset source**, **Preview Data**, **Meta Data** |
| Source | **Import Data**, **Sync** | **Delete from Project** | Imports on the **All**, **Failed** and **Running** tabs, with a search box |
| Transfer | None | **Sync only failed transfer**, **Sync All**, **Delete Node** | The transfer items, each with ▶ and a ⋮ menu (**View Logs**, **Edit**, **Delete**) |

- **View** opens the [node page](#the-node-page). **Duplicate** creates a copy to transform further; see [Duplicate](/transforms#duplicate-a-node). **Data Repository** saves the node as a dataset; see [Save a project node](/data-repository#save-a-project-node).
- The **Data** tab shows **Preview Data**, the first rows and columns (click the preview to open **Previewing:** with all columns), and **Meta Data**: **Owned By**, **Total Size**, **Latest Size**, **Created At**, **Updated At**, **Total Columns** and **Total Rows**.
- The **Process** tab lists the node's last processes under **Origin**, **Actions**, **Exports** and **Publish**. Click one to read its log.
- While a node is busy, a message explains why you cannot change it yet, for example *This dataset is scheduled to be updated as part of an existing data flow. You may continue editing after it is finished.*

> Screenshot: The side panel of the source node Analytics warehouse: the Node overview box, Import Data, and the open Sync menu with Sync all, Retry failed imports and Schedule sync over the import tabs, above the import card store_visits with Import successful. A source node lists its imports. Sync re-imports them all, or only the failed ones.

### Rename a node

Click ✎ next to the name, type the new name and click anywhere outside the field. DDL confirms with *Successfully renamed node to …*. Names must be unique in a project; otherwise DDL answers *Node with the same name already exists in this project*.

In the side panel, ✎ is available to the project owner. Others who may edit the project can rename the node on its [node page](#the-node-page), by clicking the name in the header.

Renaming is safe for SQL nodes that read this node: DDL stores the reference itself and shows the new name the next time you edit the query. A dataset saved from the node in the Data Repository is renamed with it, and so is the import connection of a source node.

### Delete a node

Open the ⋮ menu and choose **Delete from Project**.

- For a transform, file or transfer node, confirm in **Confirmation delete node**.
- For a source or dataset node, the **Delete Node Source** dialog asks you to type the node's name (**Input Node Source Name**) and confirm with **Delete Node Source**.

:::danger[Deleting a node deletes everything downstream]
DDL deletes the node and then, in the background, every node downstream of it, with their data. This cannot be undone. Check the [Lineage view](/pipeline-views#lineage-view) first.
:::

If another project imports the node's data as a dataset, DDL refuses: *One or more projects are using this Dataset as Connection Nodes. Please delete those nodes first.*

## Run, sync, rerun and stop

When a node gets new data, DDL schedules every node downstream of it and runs each one after the nodes it reads are done. A node that reads several nodes runs once the last of them has finished. If one of them failed, DDL does not run it on stale data: the node and everything below it become **Upstream Failed**.

| Action | Where | What it does |
|---|---|---|
| **Sync all** | Source node › **Sync** | Re-imports every table imported from the connection and runs its transfers again, then updates everything downstream. |
| **Retry failed imports** | Source node › **Sync** | Re-runs only the imports and transfers that failed. |
| **Sync now** | Dataset node › **Sync**; ▶ on an import card | Updates that one node from its source, then everything downstream. |
| **Schedule sync** | **Sync** menu | Syncs a source or dataset node on a schedule. See [Schedules](/schedules). |
| **Rerun** | Above a selected transform node, or **Node overview** › **Rerun** | Runs the node again, then everything downstream. |
| **Stop** | Hover the chip above a running transform node | Stops the node. A stopped node gets the **Failed** status. |
| **Update File** | File node › ⋮ | Replaces the file and updates everything downstream. |

When a sync starts, DDL says, for example, *Node Analytics warehouse sync process will be started shortly*. The run itself is queued: give [Monitoring](/monitoring) a moment before its **Sync** row appears there. That row has no log or working **Stop** action of its own; use the source or import controls to stop a sync, and read the logs of its import, transform or transfer processes. While nodes run, the canvas refreshes their statuses every few seconds.

### Rerun a node

1. Click a transform node whose status is **Success**, **Created**, **Failed**, **Failed to Create** or **Upstream Failed**.
2. Click **Rerun** above the node, or **Rerun** in the **Node overview** box.
3. The **Rerun 1 node** dialog explains that all its downstream nodes run again. Click **Rerun**.

DDL refuses a rerun in two cases:

- A node that the node reads has failed: *Retry the failed upstream node(s) first: …* followed by their names. Rerun those first.
- Nodes downstream are still running: *You may not edit this dataset as it will disrupt the update on downstream datasets. Please wait until all the updates are finished.*

To rerun or stop many nodes at once, select them in the [List view](/pipeline-views#rerun-or-stop-several-nodes).

## Find and arrange nodes

**Search Dataset** at the top of the canvas finds a node by name. Pick it from the list and the canvas centres on it with a blue frame. <kbd>Ctrl</kbd>+<kbd>K</kbd> (<kbd>⌘</kbd>+<kbd>K</kbd> on a Mac) puts the cursor in the search box.

The filter button inside the search box opens **Search Filters**: **Node Status** (**Successful**, **Running**, **Failed**) and **Export Status** (**Successful**, **Running**, **Failed**, **No Export**). Click **Confirm** to apply them or **Clear All** to remove them. **Reset Filter**, next to the box, clears the filters and the search.

### Arrange nodes

DDL lays the nodes out by itself, from left to right. If you may edit the project, you can place them yourself, for everyone:

1. Click **Arrange nodes** at the top right of the canvas. A dashed frame and the note *Drag nodes to arrange them. The saved positions are used by everyone who opens this project.* show that you are arranging.
2. Drag the nodes where you want them.
3. Click **Save layout**, or **Cancel** to drop the changes.

Everyone who opens the project sees the saved positions. Nodes added later are placed to the right of their parents. Once a layout is saved, **Reset layout** appears next to **Arrange nodes**: after a confirmation, it removes the saved positions for everyone and goes back to the automatic layout. Nothing else in the pipeline changes.

> Screenshot: The Demo Project canvas in arranging mode: a dashed frame around the canvas and, at the top right, the note that begins Drag nodes to arrange them, with the Save layout and Cancel buttons. Arranging: drag the nodes, then Save layout for everyone.

## Large projects

A project with more than 150 nodes gets a canvas tuned for size:

- You can zoom out much further. Zoomed out, nodes become plain coloured boxes in their status colour, and their names disappear when they get too small to read.
- The first time, DDL may show *Arranging 1,250 nodes…* while it computes the layout. You can use **Groups** and **List** in the meantime.
- With the group views on, such a project opens on **Groups** instead of the canvas, and the canvas is only drawn when you open it.

For big pipelines, the [List, Lineage and Groups](/pipeline-views) views are usually quicker than the canvas.

## The node page

The node page (`/node/<nodeId>`) shows the full data of a file, dataset or transform node in a table, with the number of columns and rows below it. Open it by double-clicking a node, with **View** in the side panel, **Open node page** in the node menu, or the link in the message DDL shows after creating a node.

The breadcrumbs read **Home / Projects / Pipeline / Node View**. If you may edit the node, click its name in the header to rename it.

The toolbar at the top right has four icon buttons; hover one to see its name:

| Button | What it does |
|---|---|
| **Actions History** | Lists the steps applied to the node's data. See [Actions](/transforms#actions-on-the-node-page). |
| **Visualization** | Opens the [chart builder](/charts) with this node selected, at `/projects/<id>/charts/new?source=node:<nodeId>`. It reads the node's latest successful data, even when you have selected a historical step. |
| **Make Custom Action** | Writes your own action as a script. |
| **Search Action** | Adds a step such as **Filter**, **Sort** or **Group By and Aggregate**. |

File and dataset nodes are read-only for actions, but **Visualization** still works on their node pages. It is disabled only while the project is locked or you lack **Modify Project**. It opens the new chart builder, not the old visualization editor.

To add actions, the page says *This view is read-only* and offers *Click here to transform this data*: the link asks for a name and creates a copy of the node that you can transform. See [Duplicate a node](/transforms#duplicate-a-node).

> Screenshot: The node page of orders_enriched with the breadcrumbs Home, Projects, Pipeline, Node View, the toolbar icons Actions History, Visualization, Make Custom Action and Search Action, and the data table with 12 Columns and 500 Rows below it. The node page of a transform node: the data, and the tools to add steps to it.

## Who can do what

| To | You need |
|---|---|
| Open the pipeline, side panels, node pages and logs | **View Project** |
| Sync source nodes by hand | **View Project & Sync Source** or **Modify Project** |
| Add data, transform, transfer, duplicate, rerun, stop, arrange nodes and open **Visualization** | **Modify Project** |
| Rename a node from the side panel | The project owner (others rename on the node page) |
| Delete a node | **Modify Project** to open the dialog; DDL then also requires the project owner or **Share Project(View)** |

While a project is [locked](/projects#lock-a-project), nobody can change it, the owner included, but its schedules keep running. Permissions are explained in [Access levels](/projects#access-levels).

## Troubleshooting

| Problem | Cause and fix |
|---|---|
| **Merge**, **Union** and **Identity Matching** are greyed out in **Transform Data** | The project has fewer than two nodes. Add data first. |
| **Lineage** in the view switcher is greyed out | No node is selected. Click a node, or find one with **Search Dataset**, first. |
| **Open node page** is greyed out | Only file and transform nodes have it in the menu. For a dataset node, use **View** in the side panel. |
| A dataset node shows ⓘ | The dataset changed since the node was synced and Auto Sync is off. Click **Sync** › **Sync now**. |
| *Retry the failed upstream node(s) first: …* | A node this node reads has failed. Fix and rerun that node first. |
| The sync message appears but Monitoring shows nothing yet | Runs are queued. Wait a moment instead of syncing again. |
| *Node with the same name already exists in this project* | Pick another name. |

## Related pages

  - [Transforms](/transforms): SQL, Merge, Union, Identity Matching, scripts, actions, exports and transfers.
  - [List, Lineage and Groups](/pipeline-views): Filter and rerun nodes in bulk, follow data across projects, work with large pipelines.
  - [Schedules](/schedules): Sync source and dataset nodes automatically.
  - [Monitoring](/monitoring): Every run with its status and log.
