From 2d05aed05750fdde52424404001315a967e0d696 Mon Sep 17 00:00:00 2001 From: James Pace Date: Sun, 19 Jul 2026 19:55:53 -0400 Subject: [PATCH] Make graph Clone. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) 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>, }