Record Class EdgeCondition<S extends AgentState>

java.lang.Object
java.lang.Record
org.bsc.langgraph4j.edge.EdgeCondition<S>
Type Parameters:
S - the type of the state associated with the edge
Record Components:
action - The action to be performed asynchronously when the edge condition is met.
mappings - A map of string key-value pairs representing additional mappings for the edge condition.

public record EdgeCondition<S extends AgentState>(AsyncCommandAction<S extends AgentState> action, Map<String,String> mappings) extends Record
Represents a condition associated with an edge in a graph.