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