aboutsummaryrefslogtreecommitdiff
path: root/server/tools/src/diagram_dot.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-06 18:37:14 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-06 18:37:14 +0200
commit6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb (patch)
tree8fce220a62fc49062aaa45a69b69b469b3204505 /server/tools/src/diagram_dot.rs
parent5925c4da0d9c0e40203531d2c0c61a653e10824b (diff)
downloadhurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar
hurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar.bz2
hurrycurry-6e264a13ecc0284c5073d0fbe92e6d0bfeeee6bb.tar.zst
Prepare for book locale
Diffstat (limited to 'server/tools/src/diagram_dot.rs')
-rw-r--r--server/tools/src/diagram_dot.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tools/src/diagram_dot.rs b/server/tools/src/diagram_dot.rs
index f5c4714b..fb223dbf 100644
--- a/server/tools/src/diagram_dot.rs
+++ b/server/tools/src/diagram_dot.rs
@@ -16,6 +16,7 @@
*/
+use crate::diagram_svg::node_color;
use anyhow::{Result, bail};
use hurrycurry_protocol::{
Gamedata, Message,
@@ -27,8 +28,6 @@ use std::{
process::{Command, Stdio},
};
-use crate::diagram_svg::node_color;
-
pub fn diagram_dot_svg(data: &Gamedata, diagram: &Diagram) -> Result<String> {
let mut child = Command::new("dot")
.arg("-Tsvg")