Spaces:
Running
Running
Update synoptic_chart_generator.py
Browse files
synoptic_chart_generator.py
CHANGED
@@ -12,6 +12,9 @@ def generate_synoptic_chart(json_input: str, output_format: str) -> str:
|
|
12 |
json_input (str): A JSON string describing the synoptic chart structure.
|
13 |
It must follow the Expected JSON Format Example below.
|
14 |
|
|
|
|
|
|
|
15 |
Expected JSON Format Example:
|
16 |
{
|
17 |
"central_node": "AI Project Lifecycle",
|
|
|
12 |
json_input (str): A JSON string describing the synoptic chart 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 Project Lifecycle",
|