diff options
author | metamuffin <metamuffin@disroot.org> | 2025-10-06 14:09:47 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-10-06 14:09:47 +0200 |
commit | 5925c4da0d9c0e40203531d2c0c61a653e10824b (patch) | |
tree | 4955bf99814d150664995f64e70bac709d0f08c1 /server/protocol/src | |
parent | a5814a2a81c0ea7bcf6d56626ff7167af78d63a6 (diff) | |
download | hurrycurry-5925c4da0d9c0e40203531d2c0c61a653e10824b.tar hurrycurry-5925c4da0d9c0e40203531d2c0c61a653e10824b.tar.bz2 hurrycurry-5925c4da0d9c0e40203531d2c0c61a653e10824b.tar.zst |
Remove edge style feature
Diffstat (limited to 'server/protocol/src')
-rw-r--r-- | server/protocol/src/book.rs | 12 |
1 files changed, 0 insertions, 12 deletions
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<Message>, - 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!( |