prefect.utilities.visualization
Utilities for working with Flow.visualize()
Functions
get_task_viz_tracker
track_viz_task
build_task_dependencies
- task_run_tracker (TaskVizTracker): An object containing tasks and their dependencies.
- graphviz.Digraph: A directed graph object depicting the relationships and dependencies between tasks.
- GraphvizImportError: If there’s an ImportError related to graphviz.
- FlowVisualizationError: If there’s any other error during the visualization
process or if return values of tasks are directly accessed without
specifying a
viz_return_value
.
visualize_task_dependencies
- graph (graphviz.Digraph): The directed graph object to visualize.
- flow_run_name (str): The name to use when saving the rendered graph image.
- GraphvizExecutableNotFoundError: If Graphviz isn’t found on the system.
- FlowVisualizationError: If there’s any other error during the visualization
process or if return values of tasks are directly accessed without
specifying a
viz_return_value
.