Spaces:
Running
Running
Update concept_map_generator.py
Browse files- concept_map_generator.py +3 -0
concept_map_generator.py
CHANGED
@@ -12,6 +12,9 @@ def generate_concept_map(json_input: str, output_format: str) -> str:
|
|
12 |
json_input (str): A JSON string describing the concept map structure.
|
13 |
It must follow the Expected JSON Format Example below.
|
14 |
|
|
|
|
|
|
|
15 |
Expected JSON Format Example:
|
16 |
{
|
17 |
"central_node": "Artificial Intelligence (AI)",
|
|
|
12 |
json_input (str): A JSON string describing the concept map 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": "Artificial Intelligence (AI)",
|