Skip to content
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

[rfc][Dagre] layout disconnected graphs independently. [do not merge] #21238

Closed
wants to merge 2 commits into from

Conversation

salazarm
Copy link
Contributor

@salazarm salazarm commented Apr 16, 2024

Summary & Motivation

Sometimes dagre chokes on disconnected graphs with this error . Laying out the disconnected graphs independently circumvents the issue, but each disconnected graph could share the same group(s) as one of the neighboring disconnected graphs meaning if we were to stack these graphs on top of each other then there would be multiple boxes for each group. IMO this would result in easier to understand graphs. Another option is to force the graphs to be connected by adding dummy nodes/edges that we then don't render.

Copy link

github-actions bot commented Apr 16, 2024

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-p02girx8y-elementl.vercel.app
https://salazarm-dagre-fix.core-storybook.dagster-docs.io

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

@salazarm salazarm closed this Apr 29, 2024
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