Skip to main content

EdgeRouter

Trait EdgeRouter 

Source
pub trait EdgeRouter: Send + Sync {
    // Required method
    fn route(&self, state: &GraphState) -> String;
}
Expand description

Router for conditional edges

Required Methods§

Source

fn route(&self, state: &GraphState) -> String

Determine next node based on state

Implementors§