SubgraphMetadata
Represents metadata associated with a subgraph in an AI agent strategy graph.
This class holds information about the nodes present in the subgraph and provides insights into the structural uniqueness of node names within the graph. The subgraph is identified by a map of node names to their corresponding AIAgentNodeBase implementations.
Properties
A map where the keys are node names (String) and the values are the corresponding AI agent nodes (AIAgentNodeBase). This map represents the structural composition of the subgraph.
A boolean flag indicating whether node names within the subgraph are guaranteed to be unique. When true, all node names in nodesMap are distinct. When false (the default), uniqueness is not asserted; since nodesMap is keyed by name, duplicate names cannot coexist in the map itself, but this flag signals that the builder has not verified name uniqueness across the subgraph.