Skip to content

Conversation

@Leahh02
Copy link
Collaborator

@Leahh02 Leahh02 commented Jul 23, 2025

This PR adds a conversion utility to the DAG command, satisfying Issue #1082.

Biggest changes:

  • Add generate_all_viz function to beeflow/common/gdb/generate_graph.py. This is similar to the generate_viz function, but it handles a directory. It can't save and backup DAGs in the workflow_dir since in theory the workflow dir. should already be archived. It catches exceptions while making the DAGs, these will be passed back to bee client to be printed, but DAGs that don't cause any exceptions will be created.
  • Add render_png_data funciton to beeflow/common/gdb/generate_graph.py. The code in here was in generate_viz, but it was moved so generate_viz and generate_all_viz can use it.

I think this PR is good to go except for the fact that I haven't added unit tests yet.

@Leahh02 Leahh02 added the WIP (no-ci) Don't run any CI for this PR label Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WIP (no-ci) Don't run any CI for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants