ZahirJS commited on
Commit
b33e196
·
verified ·
1 Parent(s): 2d415e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,7 +102,7 @@ def generate_concept_map(json_input: str) -> str:
102
 
103
  # Edge colors can remain constant or change. Let's make them slightly visible.
104
  edge_color = '#4a4a4a' # Un gris oscuro para las líneas
105
- font_size = max(9, 14 - (current_depth * 2)) # Adjust font size based on depth
106
  edge_font_size = max(7, 10 - (current_depth * 1))
107
 
108
  for node in nodes_list:
 
102
 
103
  # Edge colors can remain constant or change. Let's make them slightly visible.
104
  edge_color = '#4a4a4a' # Un gris oscuro para las líneas
105
+ font_size = max(9, 14 - current_depth ) # Adjust font size based on depth
106
  edge_font_size = max(7, 10 - (current_depth * 1))
107
 
108
  for node in nodes_list: