In Prefect 3.x, you can visualize your assets and their dependencies in several ways through the Prefect UI:
1.
Assets Dashboard
- Navigate to the "Assets" tab in the main navigation
- This view shows all your assets and their current state
- You can see when assets were last materialized and their lineage
2.
Asset Graph View
- Within the Assets dashboard, click on any asset to see its details
- The "Graph" tab shows a visual representation of the asset's dependencies
- Upstream and downstream dependencies are displayed as connected nodes
- The graph is interactive - you can click on nodes to navigate between related assets
3.
Materialization History
- In an asset's detail view, you can see the history of all materializations
- Each materialization shows:
- Timestamp
- Status
- Metadata
- Any associated flow run information
4.
Asset Status
- Assets are color-coded to indicate their status:
- Green: Successfully materialized
- Red: Failed materialization
- Grey: Never materialized
You can access these visualizations by going to
https://<your-prefect-server>/assets
if you're using Prefect Cloud, or
<http://localhost:4200/assets>
if you're running Prefect server locally.
For more details, you can check out the official documentation on assets at
https://docs.prefect.io/latest/concepts/assets/.
Note: The exact visualization features might vary slightly depending on your Prefect version and whether you're using Prefect Cloud or self-hosted Prefect.