Changes order on the graph #78
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "cli_parser"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "graphs"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# cargo-features = ["codegen-backend"]
|
||||
[package]
|
||||
name = "ravenous-tools"
|
||||
version = "0.1.6"
|
||||
version = "0.1.7"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
Loading…
Reference in New Issue