to_kedro_viz.py
graph_to_kedro_viz(graph, output_directory)
¶
Convert a pipeline to a kedro-viz static pipeline directory
Run with:
export KEDRO_DISABLE_TELEMETRY=true
kedro viz run --load-file kedro-pipeline-example
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
graph
|
tuple[dict[str, list[NodeData]], dict[str | None, list[IOData]]]
|
tuple of node modules and io modules |
required |
output_directory
|
Path
|
path to write the output data to |
required |
Raises:
| Type | Description |
|---|---|
FileExistsError
|
if the output directory already exists |