Skip to content

[ui] Configurable "faceted" asset graph node designs #29307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bengotow
Copy link
Collaborator

Summary & Motivation

Linear: https://linear.app/dagster-labs/issue/OPER-1793/configurable-asset-graph-node-designs-prototype

Figma: https://www.figma.com/design/wXU4we6PavPVZt5dHZNQkY/Dagster-Observe---2025?node-id=1014-814&p=f&t=BY6WnhP5GaXjOz7F-0

This PR adds a new feature flag which enables faceted asset node rendering. In this new rendering style, you can choose exactly what bits of information you'd like to see on the asset graph, and data is presented in a more uniform way. All the nodes are the same size, and most facets are rendered in a [key] [value] style within the node box.

After this merges, I plan to follow-up with:

  • Updated design for the bottom status bar which will use the new asset health data (subject to a separate feature flag)
  • An additional "Automation condition" facet which will use the new automation condition data

One noteworthy / non-flagged change in this PR is that layout updates that do not result in a change in the number of edges, groups or nodes do NOT re-center the graph. This allows the user to change their displayed facets without losing their place in the graph.

Sidenote: Yesterday I mentioned I was trying to dynamically "tweak" the graph layouts to change node heights without re-running the layout algorithm. I was 1) unable to do this because external asset nodes are still tiny and do not scale, and scaling was creating odd spaces around them and 2) not seeing changes to asset height impact the placement of nodes in most cases anyway.

image
image

image
image

How I Tested These Changes

Tested feature flag on and off on both the asset graph and the asset lineage view, and also zoomed out to test minimal rendering.

Changelog

[ui] A new feature flag allows you to customize the appearance of assets on the asset graph by enabling and disabling individual facets.

@bengotow bengotow requested review from salazarm and hellendag April 15, 2025 22:25
@bengotow bengotow changed the title [ui] Faceted asset node rendering [ui] Configurable "faceted" asset graph node designs Apr 15, 2025
Copy link

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-mi98jhsvf-elementl.vercel.app
https://bengotow-2025-04-OPER-1793.core-storybook.dagster-docs.io

Built with commit 87884e1.
This pull request is being automatically deployed with vercel-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant