Helper function to add 'value' to the table.
(self, value, rounded=False, border=1)
| 76 | self.add_value(child, rounded, border) |
| 77 | |
| 78 | def add_value(self, value, rounded=False, border=1): |
| 79 | """ Helper function to add 'value' to the table. """ |
| 80 | self.check_add_new_line() |
| 81 | r = ' STYLE="ROUNDED"' if rounded else '' |
| 82 | self.html += f'<TD BORDER="{border}"{r}>{format_string(value, not rounded)}</TD>' |
| 83 | self.is_empty = False |
| 84 | self.col_count += 1 |
| 85 | |
| 86 | def add_reference(self, node, child, rounded=False, border=1, dashed=False): |
| 87 | """ Helper function to add a reference to the table. """ |
no test coverage detected