# generateGraph

fun generateGraph(agentName: String, highlightPairs: List<Pair<String, String>> = emptyList()): String

Generates a Graphviz DOT representation of the agent structure.

#### Return

The Graphviz DOT representation of the agent structure.

#### Parameters

agentName

The name of the agent to generate the graph for.

highlightPairs

A list of pairs of node names to highlight in the graph.

fun generateGraph(rootAgent: BaseAgent, highlightPairs: List<Pair<String, String>>): String

Generates a Graphviz DOT representation of the agent structure.

#### Return

The Graphviz DOT representation of the agent structure.

#### Parameters

rootAgent

The root agent to generate the graph for.

highlightPairs

A list of pairs of node names to highlight in the graph.