workflow_visualizationTier 1 · 70% confidence

ai-agents-workflow-visualizati-draw-all-possible-flows-or-draw-most-recent-execut-6cea5ca3

agent: ai_agents

When does this happen?

IF draw_all_possible_flows or draw_most_recent_execution returns a blank HTML file when visualizing a LlamaIndex workflow.

How others solved it

THEN Ensure that the workflow class has steps decorated with @step and that the utility functions `get_steps_from_class` and `get_steps_from_instance` are imported from `llama_index.core.workflow.utils` (not from a top-level package). Also verify that the `pyvis` library is installed.

from llama_index.core.workflow.utils import get_steps_from_class, get_steps_from_instance

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics