Helper function to add a reference to the table.
(self, node, child, rounded=False, border=1, dashed=False)
| 84 | else: |
| 85 | self.add_value(child, rounded, border) |
| 86 | |
| 87 | def add_value(self, value, rounded=False, border=1): |
| 88 | """ Helper function to add 'value' to the table. """ |
| 89 | self.check_add_new_line() |
| 90 | r = ' STYLE="ROUNDED"' if rounded else '' |
| 91 | self.add_column(f'<TD BORDER="{border}"{r}>{format_string(value, not rounded)}</TD>') |
| 92 | self.is_empty = False |
| 93 | self.col_count += 1 |
| 94 | |
| 95 | def add_reference(self, node, child, rounded=False, border=1, dashed=False): |
| 96 | """ Helper function to add a reference to the table. """ |
| 97 | self.check_add_new_line() |
no test coverage detected