ZahirJS commited on
Commit
10522d4
·
verified ·
1 Parent(s): 591980c

Update class_diagram_generator.py

Browse files
Files changed (1) hide show
  1. class_diagram_generator.py +1 -1
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 += 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:
 
222
  else:
223
  html_label += f'<TR><TD ALIGN="CENTER" BGCOLOR="{header_color}"><B>{class_name}</B></TD></TR>'
224
 
225
+ html_label += f'<HR/><TR><TD BGCOLOR="{body_color}" HEIGHT="5"></TD></TR>'
226
 
227
  if attributes:
228
  for attr in attributes: