use crate::{GraphError, GraphView};
pub trait GraphTraversal<N, W>: GraphView<N, W> {
fn outbound_edges(&self, a: usize) -> Result<impl Iterator<Item = usize> + '_, GraphError>;
fn inbound_edges(&self, a: usize) -> Result<impl Iterator<Item = usize> + '_, GraphError>;
}