graph_utils
autogen.graph_utils.visualize_speaker_transitions_dict
visualize_speaker_transitions_dict
Visualize the speaker_transitions_dict using networkx.
Name | Description |
---|---|
speaker_transitions_dict | A dictionary of keys and list as values. The keys are the names of the agents, and the values are the names of the agents that the key agent can transition to. Type: dict[str, list[Agent]] |
agents | A list of Agents Type: list[Agent] |
export_path | The path to export the graph. If None, the graph will be shown. Type: str | None Default: None |
Type | Description |
---|---|
None | None |