WorkflowGraph

Represents an Agent workflow graph.

KEY TYPE Description
primaryStartNode Union[str, WorkflowGraphNode] The primary node to start the workflow from.
specificationType None None
nodes List[WorkflowGraphNode] A list of nodes in the workflow graph.
commonSourceCode str Common source code that can be used across all nodes.
edges List[WorkflowGraphEdge] A list of edges in the workflow graph, where each edge is a tuple of source, target, and details.