1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//! Graph configuration options. #[derive(Debug, Clone, Copy)] pub struct GraphOptions { pub multigraph: bool, pub compound: bool, pub directed: bool, } impl Default for GraphOptions { fn default() -> Self { Self { multigraph: false, compound: false, directed: true, } } }