Spaces:
Running
Running
Update class_diagram_generator.py
Browse files
class_diagram_generator.py
CHANGED
|
@@ -10,6 +10,9 @@ def generate_class_diagram(json_input: str, output_format: str) -> str:
|
|
| 10 |
Args:
|
| 11 |
json_input (str): A JSON string describing the class diagram structure.
|
| 12 |
It must follow the Expected JSON Format Example below.
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
Expected JSON Format Example:
|
| 15 |
{
|
|
|
|
| 10 |
Args:
|
| 11 |
json_input (str): A JSON string describing the class diagram structure.
|
| 12 |
It must follow the Expected JSON Format Example below.
|
| 13 |
+
|
| 14 |
+
output_format (str): The output format for the generated diagram.
|
| 15 |
+
Supported formats: "png" or "svg"
|
| 16 |
|
| 17 |
Expected JSON Format Example:
|
| 18 |
{
|