From 142d86c8a3a0f62a359c9aabc75ce1b1ed2344ba Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 6 May 2026 09:50:31 -0700 Subject: [PATCH] work on styles --- rust/pspp/src/spv/read/graph/style.rs | 155 +++++++----------- .../pspp/src/spv/testdata/graph2.expected.svg | 31 +++- 2 files changed, 78 insertions(+), 108 deletions(-) diff --git a/rust/pspp/src/spv/read/graph/style.rs b/rust/pspp/src/spv/read/graph/style.rs index c7dcdfb078..9140a21c16 100644 --- a/rust/pspp/src/spv/read/graph/style.rs +++ b/rust/pspp/src/spv/read/graph/style.rs @@ -60,112 +60,47 @@ pub struct Style { #[serde(rename = "@pattern")] pub pattern: Option, - #[serde(flatten)] - pub symbol_style: SymbolStyle, - - #[serde(flatten)] - pub stroke_style: StrokeStyle, - - #[serde(flatten)] - pub label_style: LabelStyle, - - #[serde(default, rename = "$value")] - pub children: Vec