Skip to content

Add the ability to automatically use different node_color for different materializations #534

Open
@kdeggelman

Description

@kdeggelman

Describe the feature

When looking at the lineage graph, it would be helpful to visually distinguish models based on their materialization strategies. Ideally the choice of colors would be configurable by the user.

Describe alternatives you've considered

We can manually set the node_color for folders and individual models, so we could organize all of our tables in a folder, views in another folder, incremental in another, etc. This would be a big departure from how we're currently structuring our folders.

Additional context

N/A

Who will this benefit?

What kind of use case will this feature be useful for? Please be specific and provide examples, this will help us prioritize properly.
This will benefit all users of dbt-docs who would like to visually distinguish different materializations in their lineage graphs.
There have been a few asks about this feature in Slack. For example, here and here.

Are you interested in contributing this feature?

Yes, I'd like to add the code to support this feature. It would be great to hear if the maintainers will be willing to accept a PR with this functionality before I embark.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions