Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

DAGs

Save connected blocks as a reusable pipeline, and reuse it across projects.

A DAG asset saves a set of connected blocks, such as a data cleaning or feature engineering pipeline, so you can reuse it in other projects instead of rebuilding it each time.

DAG assets may not be enabled for every organization yet. If you don't see the options below, contact your Zerve administrator.

Creating a DAG

1

Select the blocks

In a notebook, select the blocks you want to save. The selection must:

  • Contain at least one block

  • Form a single connected graph, so every selected block is connected to the others

  • Have no cycles

You need write access to the project.

2

Choose Create DAG

Select Create DAG in the toolbar that appears above your selection, or right-click one of the selected blocks and choose Create DAG Asset. To save a single block, choose Create DAG Asset from its toolbar.

If the selection can't be saved as a DAG, the option is disabled and shows why.

3

Name it

Enter a name (up to 255 characters) and, optionally, a description (up to 2,048 characters), then select Create DAG.

The DAG saves a copy of the blocks and their connections as they are when you create it.

Finding your DAGs

Your organization's DAGs are under Assets → DAGs. Each shows its name, its description and who owns it.

To
Do this

Share a DAG

Select Share. DAGs follow the same sharing rules as other assets. See Sharing and privacy.

Delete a DAG

Choose Delete from its menu. You need write access.

Using a DAG in a project

When you add a DAG to a project, Zerve copies its blocks and connections into the project as new blocks, laid out automatically. If a block's name is already used in the project, a number is added to the copy's name, such as clean_data_1.

The copied blocks are ordinary blocks: you can edit and run them like any other, and changing them doesn't change the saved DAG.

DAGs and other assets

Asset
Reuses

DAG

A whole pipeline of connected blocks

A single piece of code, called from your blocks

Instructions for the agent

Last updated

Was this helpful?