ZahirJS commited on
Commit
0ad9f40
·
verified ·
1 Parent(s): 8fba4ee

Update synoptic_chart_generator.py

Browse files
Files changed (1) hide show
  1. synoptic_chart_generator.py +3 -1
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' # Padding around the graph
 
 
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