Closed pleek91 closed 3 weeks ago
Name | Link |
---|---|
Latest commit | 189c375599e775945f2dfa5d83832f01013d170b |
Latest deploy log | https://app.netlify.com/sites/prefect-graphs/deploys/667b2658a46aaa000847f425 |
Deploy Preview | https://deploy-preview-525--prefect-graphs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Description
Adds the ability for graphs to include
nested_task_run_graphs?: Map<string, RunGraphData>
. This map is keyed by task run id. So when rendering a task run node it checks to see if there is a nested graph associated with that task run and if so renders it similar to how a nested flow run is rendered. Allowing you to expand the task run to see its nested runs.This change is backwards compatible, its up to the implementation to pass the nested task run graphs AND to make sure and nested task runs are not present in the root graph data (otherwise they'll be rendered as normal).
A flow run with nested tasks rendered without using nested task run graphs
That same flow run rendered with nested task run graphs (with some tasks manually expanded to show the nesting)