Spaces:
Running
Running
Update entity_relationship_generator.py
Browse files
entity_relationship_generator.py
CHANGED
|
@@ -11,6 +11,9 @@ def generate_entity_relationship_diagram(json_input: str, output_format: str) ->
|
|
| 11 |
json_input (str): A JSON string describing the ER diagram structure.
|
| 12 |
It must follow the Expected JSON Format Example below.
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
Expected JSON Format Example:
|
| 15 |
{
|
| 16 |
"entities": [
|
|
|
|
| 11 |
json_input (str): A JSON string describing the ER 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 |
{
|
| 19 |
"entities": [
|