Hi there, I'm testing Perfect for the 1st time and...
# ask-community
g
Hi there, I'm testing Perfect for the 1st time and can't see any DAG visualisation feature on the UI. There's a mention here, but in the docs (and what I could find on slack), it can only be done "statically" with
graphviz
. Am I missing anything? It looks pretty standard in other tools (dagster, airflow, flyte).
b
Hi Gee! Prefect is designed to visualize workflows that can adapt at runtime (think if/else conditionals, while loops, etc.). This was intentional to address the limitations that fixed, pre-defined DAGs present when writing dynamic/event-driven workflows. If you want a static visualization, you're correct that the
visualize()
method which uses
graphviz
would be the way to go. Otherwise, you can just run your flow locally, like you would with any other python script, to see the graph generated in realtime.