@@ -8,12 +8,22 @@ Don't just run your test cases through your mind, visualize them instead! 😉
8
8
9
9
### Representing/rendering node logic
10
10
11
- - A node in canvas represent with these propertites ` width ` , ` hight ` , ` point (x,y) ` , ` radius ` and the node ` value ` .
11
+ - A node in canvas represents these properties ` width ` , ` height ` , ` point (x,y) ` , ` radius ` , and the node ` value ` .
12
12
13
13
![ node-propertites] ( https://github.com/subrat611/leetcode-tree-visualizer/assets/77252075/985e203a-572f-4049-b947-4f06194ff1cf )
14
14
15
15
![ image] ( https://github.com/subrat611/leetcode-tree-visualizer/assets/77252075/555648b9-17e1-47d1-ae83-6666001b7eb3 )
16
16
17
+ ### Understanding canvas height and width with respect to tree
18
+
19
+ - Height of the canvas
20
+
21
+ ![ canvas-height] ( https://github.com/subrat611/leetcode-tree-visualizer/assets/77252075/701338b6-3f4e-4942-97ec-2cdc8e2041e0 )
22
+
23
+ - Widht of the canvas
24
+
25
+ ![ canvas-width] ( https://github.com/subrat611/leetcode-tree-visualizer/assets/77252075/50f839c2-ce94-4913-b7be-b8831358d9f7 )
26
+
17
27
### 🔨 Technologies
18
28
19
29
- ` Vitejs ` + ` TypeScript `
0 commit comments