Update synoptic_chart_generator.py
Browse files
synoptic_chart_generator.py
CHANGED
@@ -24,7 +24,9 @@ def generate_synoptic_chart(json_input: str) -> str:
|
|
24 |
'rankdir': 'LR', # Left-to-Right layout (horizontal hierarchy)
|
25 |
'splines': 'ortho', # Straight lines
|
26 |
'bgcolor': 'white', # White background
|
27 |
-
'pad': '0.5'
|
|
|
|
|
28 |
}
|
29 |
)
|
30 |
|
|
|
24 |
'rankdir': 'LR', # Left-to-Right layout (horizontal hierarchy)
|
25 |
'splines': 'ortho', # Straight lines
|
26 |
'bgcolor': 'white', # White background
|
27 |
+
'pad': '0.5', # Padding around the graph
|
28 |
+
'ranksep': '0.7', # Reduced horizontal separation between ranks (columns)
|
29 |
+
'nodesep': '0.3' # Adjusted vertical separation between nodes in the same rank
|
30 |
}
|
31 |
)
|
32 |
|