DAG in IDE, how to adjust look and feel

Goodday,

My team works in dbt Cloud IDE. I have been looking into improving the build in DAG to help us document more. I have seen videos of people having colors and icons on their DAG. I have been unable to find how to do this. The only information i have found is on cloud CLI, which we cannot use currentely.

Hi Rollow!

That is probably and old video and DAG style has evolved over time.

Currently for sources and models you will see something like this when developing:

You can display the DAG by clicking in the “Lineage” tab, just below the code.

If we look at a more complex section of the DAG we can also have a semantic node (red) and metrics (yellow).

That was for the Lineage within the Developer Cloud IDE section.

Moving to the explorer things get more interesting:


Now we have a complete color key and you can use lenses.

You can select other visualization by clicking on Resource type:

This is just a hint, you can find many more details and options in Discover data with dbt Explorer | dbt Developer Hub

Feel free to reach out anytime!

Thank you Marcelo for the clear explanation. We have quite a complicated database with a lot of models connecting a lot of other models. As such it is not possible to label, group or color to make it easier to see?

I can connect directly the three words that you have mentioned to dbt features:

You can leverage the first two options using node selection to see only a section of you DAG.
More about node selection syntax.

I suspect that if you have many models to control, groups might be the best way to achieve what you want and get more out of dbt. Tags would be the next option, perhaps easier to understand. And colors as the simplest and least polyvalent.

Hope this helps and shows you some ways to meet your needs.

I tried those things, but i see none of them in the DAG in IDE. Is that only for CLI?

I didn’t receive notifications for your last message. Sorry for the delay.

I’m testing color, and it works, BUT it is only reflected in the graph you get from the docs.

Example:

Also tags work in that graph, I create 2 naive tags, one for marts, called marts, and one for staging, called staging:

I have detected that my explorer is showing old data for my models, need to check that before testing the same in it.

Thank you, that will have to do for now than!