# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# This jupyter notebook allows to visualize the pipeline as a DAG

from pipeline_to_graph import Pipeline

# Open pipeline json file
pipeline = Pipeline("pipelines/5ca5748d-3ec8-4b5f-a2de-f713043fccc5.json")

# Asci display of a graph
print(pipeline.dag)

# Nicer display
pipeline.visualize()



StarcoderdataJupyterScriptsDedupFiltered