Update app.py
Browse files
app.py
CHANGED
@@ -15,14 +15,14 @@ def generate_svg(description):
|
|
15 |
1. Canvas Setup:
|
16 |
- Use viewBox="0 0 800 600"
|
17 |
|
18 |
-
3. Visual Style Requirements:
|
19 |
- Use rounded rectangles (rx="10") for components
|
20 |
- Component size: 140px width, 80-120px height
|
21 |
- Text: centered, with title (14px, bold) and details (12px)
|
22 |
- Color scheme: professional color choices
|
23 |
- Consistent stroke width: 2px
|
24 |
|
25 |
-
4. Component Layout:
|
26 |
- Arrange components in [specify arrangement: grid/layered/hierarchical]
|
27 |
- Maintain clear spacing between components
|
28 |
- Avoid line crossings in connections
|
|
|
15 |
1. Canvas Setup:
|
16 |
- Use viewBox="0 0 800 600"
|
17 |
|
18 |
+
3. Visual Style Requirements (apply when needed):
|
19 |
- Use rounded rectangles (rx="10") for components
|
20 |
- Component size: 140px width, 80-120px height
|
21 |
- Text: centered, with title (14px, bold) and details (12px)
|
22 |
- Color scheme: professional color choices
|
23 |
- Consistent stroke width: 2px
|
24 |
|
25 |
+
4. Component Layout (apply when needed):
|
26 |
- Arrange components in [specify arrangement: grid/layered/hierarchical]
|
27 |
- Maintain clear spacing between components
|
28 |
- Avoid line crossings in connections
|