Trait EdgeType
petgraph
pub trait EdgeType { fn is_directed() -> bool; }
A graph's edge type determines whether is has directed edges or not.
fn is_directed() -> bool
impl EdgeType for Directed
impl EdgeType for Undirected