Hi <@ULVA73B9P>, I'm testing Perfect for the 1st t...
# marvin-ai
g
Hi @Marvin, 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).
m
You're not entirely missing anything; Prefect's approach to DAG visualization is indeed different from other tools like Airflow or Dagster. Here's what you need to know: 1. Static Visualization with Graphviz: Prefect does provide a way to visualize the flow structure using the
visualize()
method, which requires Graphviz to be installed on your system. This method generates a static schematic diagram of your flow and tasks without executing them. However, it has limitations with dynamic workflows, such as those involving loops or conditional logic. You can read more about it here. 2. Current Limitations: There isn't a built-in dynamic DAG visualization feature in the Prefect UI as of now. This is a known limitation compared to other orchestration tools. 3. Community and Development Discussions: There are ongoing discussions and feature requests within the Prefect community about enhancing visualization capabilities. You can follow some of these discussions on GitHub, such as the ideas for a pre-built dependency graph visualization and visualizing task graphs with ipycytoscape. In summary, while Prefect currently lacks dynamic DAG visualization in the UI, they're aware of the demand, and there are ongoing discussions and potential future enhancements in this area.
n
hi @gee - we generally build the graph as the work happens instead of up front, which yeah is different from the tools you mentioned