Spaces:
Running
Running
Update radial_diagram_generator.py
Browse files
radial_diagram_generator.py
CHANGED
|
@@ -79,7 +79,7 @@ def generate_radial_diagram(json_input: str, output_format: str) -> str:
|
|
| 79 |
dot = graphviz.Digraph(
|
| 80 |
name='RadialDiagram',
|
| 81 |
format='png',
|
| 82 |
-
engine='neato',
|
| 83 |
graph_attr={
|
| 84 |
'overlap': 'false', # Prevent node overlap
|
| 85 |
'splines': 'true', # Smooth splines for edges
|
|
@@ -92,7 +92,7 @@ def generate_radial_diagram(json_input: str, output_format: str) -> str:
|
|
| 92 |
}
|
| 93 |
)
|
| 94 |
|
| 95 |
-
base_color = '#19191a'
|
| 96 |
|
| 97 |
dot.node(
|
| 98 |
'central',
|
|
|
|
| 79 |
dot = graphviz.Digraph(
|
| 80 |
name='RadialDiagram',
|
| 81 |
format='png',
|
| 82 |
+
engine='neato',
|
| 83 |
graph_attr={
|
| 84 |
'overlap': 'false', # Prevent node overlap
|
| 85 |
'splines': 'true', # Smooth splines for edges
|
|
|
|
| 92 |
}
|
| 93 |
)
|
| 94 |
|
| 95 |
+
base_color = '#19191a'
|
| 96 |
|
| 97 |
dot.node(
|
| 98 |
'central',
|