Metadata-Version: 2.3
Name: llama-index-utils-workflow
Version: 0.9.3rc1
Summary: llama-index utils for workflows
Author: Adrian Lyjak
Author-email: Adrian Lyjak <adrianlyjak@gmail.com>
Requires-Dist: llama-index-core>=0.14,<0.15.0
Requires-Dist: llama-index-workflows>=2.13.0,<3.0.0
Requires-Dist: pyvis>=0.3.2
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# LlamaIndex Utils: Workflow

Utilities for LlamaIndex workflows, including visualization tools.

```bash
pip install llama-index-utils-workflow
```

## Features

- **Workflow visualization** with `draw_all_possible_flows()`
- **Latest execution visualization** with `draw_most_recent_execution()`
- **Label truncation support** for better readability with long event names

## Usage

```python
from llama_index.utils.workflow import draw_all_possible_flows

# Basic workflow visualization
draw_all_possible_flows(my_workflow, "workflow.html")

# With label truncation for long event names (v0.4.0+)
draw_all_possible_flows(my_workflow, "workflow.html", max_label_length=15)

# Latest execution visualization
handler = my_workflow.run()
await handler
draw_most_recent_execution(handler, "workflow.html")
```
