> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.graph_utils.visualize_speaker_transitions_dict

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### visualize\_speaker\_transitions\_dict

```python theme={null}
visualize_speaker_transitions_dict(
    speaker_transitions_dict: dict[str, list[Agent]],
    agents: list[Agent],
    export_path: str | None = None
) -> None
```

Visualize the speaker\_transitions\_dict using networkx.<br />

<b>Parameters:</b>

| Name                       | Description                                                                                                                                                                                                                                                   |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `speaker_transitions_dict` | A dictionary of keys and list as values.<br /><br />The keys are the names of the agents, and the values are the names of the agents that the key agent can transition to.<br /><br />**Type:** dict\[str, list\[[Agent](/docs/api-reference/autogen/Agent)]] |
| `agents`                   | A list of Agents<br /><br />**Type:** list\[[Agent](/docs/api-reference/autogen/Agent)]                                                                                                                                                                       |
| `export_path`              | The path to export the graph.<br /><br />If None, the graph will be shown.<br /><br />**Type:** str \| None<br /><br />**Default:** None                                                                                                                      |

<b>Returns:</b>

| Type | Description |
| ---- | ----------- |
| None | None        |

<br />
