From 0611883f8503f16fcf2bb3738cd536a1f3f34c8c Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Thu, 14 May 2026 18:31:27 +0200 Subject: [PATCH] Changes order on the graph --- crates/cli_parser/Cargo.toml | 2 +- crates/config/src/graph.rs | 6 +++--- crates/graphs/Cargo.toml | 2 +- crates/graphs/src/graphs.rs | 6 +++--- crates/ravenous-tools/Cargo.toml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/crates/cli_parser/Cargo.toml b/crates/cli_parser/Cargo.toml index d553608..6f46ca7 100644 --- a/crates/cli_parser/Cargo.toml +++ b/crates/cli_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli_parser" -version = "0.1.6" +version = "0.1.7" edition = "2024" [dependencies] diff --git a/crates/config/src/graph.rs b/crates/config/src/graph.rs index c064f92..39c1224 100644 --- a/crates/config/src/graph.rs +++ b/crates/config/src/graph.rs @@ -93,6 +93,9 @@ pub struct FinalClassRadar { /// The ability to inflict state alterations. #[serde(rename = "Altérations")] pub alterations: f64, + /// The armor break of the class + #[serde(rename = "Brise-Armure")] + pub armorbreak: f64, /// The ability to provide support. #[serde(rename = "Support")] pub support: f64, @@ -102,9 +105,6 @@ pub struct FinalClassRadar { /// The ability to improve quality of life. #[serde(rename = "QoL")] pub qol: f64, - /// The armor break of the class - #[serde(rename = "Brise-Armure")] - pub armorbreak: f64, // / The class complexity } diff --git a/crates/graphs/Cargo.toml b/crates/graphs/Cargo.toml index 0c475a7..1b0fd9c 100644 --- a/crates/graphs/Cargo.toml +++ b/crates/graphs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "graphs" -version = "0.1.3" +version = "0.1.4" edition = "2024" [dependencies] diff --git a/crates/graphs/src/graphs.rs b/crates/graphs/src/graphs.rs index f459a65..4c17e52 100644 --- a/crates/graphs/src/graphs.rs +++ b/crates/graphs/src/graphs.rs @@ -116,7 +116,7 @@ fn gen_graph(args: &GraphConfig) -> Result<()> { let context = r.svg().context("Converting to SVG")?; f.write_all(context.as_bytes())?; - let png = svg_to_png_with_size(&context, Some(980), Some(560)).context("Writing png")?; + let png = svg_to_png_with_size(&context, Some(860), Some(560)).context("Writing png")?; let mut f = File::create(path_png)?; f.write_all(&png).context("Writing png")?; } @@ -281,12 +281,12 @@ impl MiniTheme { Self { font_family: "Latin Modern Roman".to_string(), margin: Box { - left: 140.0, + left: 10.0, top: 20.0, right: 90.0, bottom: 60.0, }, - width: 980.0, + width: 860.0, height: 560.0, grid_stroke_color: Color { r: 77, diff --git a/crates/ravenous-tools/Cargo.toml b/crates/ravenous-tools/Cargo.toml index c9623bb..7f7d29e 100644 --- a/crates/ravenous-tools/Cargo.toml +++ b/crates/ravenous-tools/Cargo.toml @@ -1,7 +1,7 @@ # cargo-features = ["codegen-backend"] [package] name = "ravenous-tools" -version = "0.1.6" +version = "0.1.7" edition = "2024" [dependencies] -- 2.45.1