diff --git a/src/lib.rs b/src/lib.rs index 4c5fef3..f73d28a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,6 +21,7 @@ pub use node::*; /// A generic graph type holding values connected to other values. /// Values can be added to the graph, but not removed. +#[derive(Clone)] pub struct Graph { nodes: Vec>, }