Spaces:
Running
Running
Update concept_map_generator.py
Browse files- concept_map_generator.py +3 -2
concept_map_generator.py
CHANGED
|
@@ -201,7 +201,8 @@ def generate_concept_map(json_input: str, output_format: str) -> str:
|
|
| 201 |
}
|
| 202 |
)
|
| 203 |
|
| 204 |
-
base_color = '#19191a'
|
|
|
|
| 205 |
|
| 206 |
dot.node(
|
| 207 |
'central',
|
|
@@ -209,7 +210,7 @@ def generate_concept_map(json_input: str, output_format: str) -> str:
|
|
| 209 |
shape='box', # Rectangular shape
|
| 210 |
style='filled,rounded', # Filled and rounded corners
|
| 211 |
fillcolor=base_color, # Darkest color
|
| 212 |
-
fontcolor='
|
| 213 |
fontsize='16' # Larger font for central node
|
| 214 |
)
|
| 215 |
|
|
|
|
| 201 |
}
|
| 202 |
)
|
| 203 |
|
| 204 |
+
# base_color = '#19191a'
|
| 205 |
+
base_color = '#BEBEBE'
|
| 206 |
|
| 207 |
dot.node(
|
| 208 |
'central',
|
|
|
|
| 210 |
shape='box', # Rectangular shape
|
| 211 |
style='filled,rounded', # Filled and rounded corners
|
| 212 |
fillcolor=base_color, # Darkest color
|
| 213 |
+
fontcolor='black', # White text for dark background
|
| 214 |
fontsize='16' # Larger font for central node
|
| 215 |
)
|
| 216 |
|