pub trait EdgeRouter: Send + Sync {
// Required method
fn route(&self, state: &GraphState) -> String;
}Expand description
Router for conditional edges
Required Methods§
Sourcefn route(&self, state: &GraphState) -> String
fn route(&self, state: &GraphState) -> String
Determine next node based on state