Make graph clone.

This commit is contained in:
James Pace 2026-07-19 19:56:21 -04:00
parent 465d94b6ad
commit b41dfccbdb
2 changed files with 3 additions and 1 deletions

View File

@ -4,5 +4,6 @@ version = "0.1.0"
edition = "2024" edition = "2024"
[dependencies] [dependencies]
limbo_graph = { branch = "main", git="https://git.jpace121.net/public/limbo_graph.git" } #limbo_graph = { branch = "main", git="https://git.jpace121.net/public/limbo_graph.git" }
limbo_graph = { path="../limbo_graph/" }
thiserror = { version = "2.0.18", default-features = false } thiserror = { version = "2.0.18", default-features = false }

View File

@ -37,6 +37,7 @@ use crate::name_parsing::*;
/// Diagnostics are stored in a tree by their namme. /// Diagnostics are stored in a tree by their namme.
/// Their levels can be reconciled, and the individual /// Their levels can be reconciled, and the individual
/// statuses queried. /// statuses queried.
#[derive(Clone)]
pub struct DiagnosticGraph { pub struct DiagnosticGraph {
graph: limbo_graph::Graph<DiagnosticNode>, graph: limbo_graph::Graph<DiagnosticNode>,
} }