Spaces:
Running
Running
Update class_diagram_generator.py
Browse files
class_diagram_generator.py
CHANGED
@@ -222,7 +222,7 @@ def generate_class_diagram(json_input: str, output_format: str) -> str:
|
|
222 |
else:
|
223 |
html_label += f'<TR><TD ALIGN="CENTER" BGCOLOR="{header_color}"><B>{class_name}</B></TD></TR>'
|
224 |
|
225 |
-
html_label += '<HR
|
226 |
|
227 |
if attributes:
|
228 |
for attr in attributes:
|
@@ -241,7 +241,7 @@ def generate_class_diagram(json_input: str, output_format: str) -> str:
|
|
241 |
else:
|
242 |
html_label += f'<TR><TD ALIGN="LEFT" BGCOLOR="{body_color}"> </TD></TR>'
|
243 |
|
244 |
-
html_label += '<HR
|
245 |
|
246 |
if methods:
|
247 |
for method in methods:
|
|
|
222 |
else:
|
223 |
html_label += f'<TR><TD ALIGN="CENTER" BGCOLOR="{header_color}"><B>{class_name}</B></TD></TR>'
|
224 |
|
225 |
+
html_label += f'<TR><TD BGCOLOR="{body_color}" HEIGHT="5"></TD></TR><HR/><TR><TD BGCOLOR="{body_color}" HEIGHT="5"></TD></TR>'
|
226 |
|
227 |
if attributes:
|
228 |
for attr in attributes:
|
|
|
241 |
else:
|
242 |
html_label += f'<TR><TD ALIGN="LEFT" BGCOLOR="{body_color}"> </TD></TR>'
|
243 |
|
244 |
+
html_label += f'<TR><TD BGCOLOR="{body_color}" HEIGHT="5"></TD></TR><HR/><TR><TD BGCOLOR="{body_color}" HEIGHT="5"></TD></TR>'
|
245 |
|
246 |
if methods:
|
247 |
for method in methods:
|