startNodeToGraph
fun <TInput, TOutput> AIAgentGraphStrategy<TInput, TOutput>.startNodeToGraph(): StrategyEventGraph(source)
Constructs an instance of AIAgentEventGraph
by converting the metadata information of the current AIAgentGraphStrategy
into its graph representation. The method creates nodes and edges that define the structure and flow of execution for the underlying AI agent strategy.
The nodes and edges are derived from the registered subgraph metadata, which contains information about the connected components of the strategy.
Return
An instance of AIAgentEventGraph
representing the strategy's node-to-node connections in a graph format.