pub type EdgeConstraint = Arc<dyn Fn(&Edge) -> bool + Send + Sync>;
Function pointer for an edge constraint (used by pattern match).
pub struct EdgeConstraint { /* private fields */ }