Spaces:
Running
Running
Update radial_diagram_generator.py
Browse files
radial_diagram_generator.py
CHANGED
@@ -12,6 +12,9 @@ def generate_radial_diagram(json_input: str, output_format: str) -> str:
|
|
12 |
json_input (str): A JSON string describing the radial diagram structure.
|
13 |
It must follow the Expected JSON Format Example below.
|
14 |
|
|
|
|
|
|
|
15 |
Expected JSON Format Example:
|
16 |
{
|
17 |
"central_node": "AI Core Concepts & Domains",
|
|
|
12 |
json_input (str): A JSON string describing the radial diagram structure.
|
13 |
It must follow the Expected JSON Format Example below.
|
14 |
|
15 |
+
output_format (str): The output format for the generated diagram.
|
16 |
+
Supported formats: "png" or "svg"
|
17 |
+
|
18 |
Expected JSON Format Example:
|
19 |
{
|
20 |
"central_node": "AI Core Concepts & Domains",
|