diff --git a/svg-demo/svg_dump.py b/svg-demo/svg_dump.py
index c0b61af..ed579f6 100755
--- a/svg-demo/svg_dump.py
+++ b/svg-demo/svg_dump.py
@@ -1,11 +1,11 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
-CASE_WIDTH = 120
-CASE_HEIGHT = 180
+CASE_WIDTH = 24
+CASE_HEIGHT = 36
-CASE_DISTANCE_X = 200
-CASE_DISTANCE_Y = 100
+CASE_DISTANCE_X = 40
+CASE_DISTANCE_Y = 20
MAIN_MARGIN_X = 10
MAIN_MARGIN_Y = 8
@@ -34,8 +34,8 @@ link = [[
[0], # (4, 0) -> 5
]]
-print(layer)
-print(link)
+# print(layer)
+# print(link)
MAX_CASE_X = 2
MAX_CASE_Y = 6
@@ -61,5 +61,24 @@ def case_address(layer_num: int, layer_index: int) -> (int, int):
)
-for case in [(0, 0), (1, 0), (1, 1)]: # (layer_num, layer_index)
- print(case_address(case[0], case[1]))
+def svg_rect(left: int, top: int, width: int, height: int):
+ return '' % (
+ left, top, width, height
+ )
+
+
+print('')