From bc6bb1afdc53cd20661a9449befcb8185f843dc1 Mon Sep 17 00:00:00 2001
From: Abdelrahman <said.abdelrahman89@gmail.com>
Date: Sun, 25 Feb 2024 20:31:01 +0000
Subject: [PATCH] Update the node struct

---
 include/nodes.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/nodes.h b/include/nodes.h
index d8fbc3f..d6b5f34 100644
--- a/include/nodes.h
+++ b/include/nodes.h
@@ -26,11 +26,12 @@ union node_data {
 };
 
 struct node {
-  ui_node_elem node;
+  rect rec;
   ui_elem_colours colours;
   node_type type;
   node_data data;
   u64 inputs;
+  line *noodles;
 };
 
 #endif // !NODES_H