From 5925c4da0d9c0e40203531d2c0c61a653e10824b Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 6 Oct 2025 14:09:47 +0200 Subject: Remove edge style feature --- server/protocol/src/book.rs | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'server/protocol/src') diff --git a/server/protocol/src/book.rs b/server/protocol/src/book.rs index 1654e014..7c529f22 100644 --- a/server/protocol/src/book.rs +++ b/server/protocol/src/book.rs @@ -69,20 +69,8 @@ pub struct DiagramEdge { pub src: usize, pub dst: usize, pub label: Option, - pub style: EdgeStyle, } -#[derive(Debug, Clone, Serialize, Deserialize)] -pub enum EdgeStyle { - Regular, - ProcessPassive, -} - -impl EdgeStyle { - pub fn is_regular(&self) -> bool { - matches!(self, Self::Regular) - } -} impl NodeStyle { pub fn is_procuct(&self) -> bool { matches!( -- cgit v1.2.3-70-g09d2