Better bracket logic

This commit is contained in:
2026-02-14 01:04:54 +01:00 Verified
parent 87d3ea5ef0
commit 7b878b3abe
32 changed files with 1326 additions and 1348 deletions
+2 -2
View File
@@ -58,6 +58,6 @@ class MermaidLive:
@staticmethod
def _print_node(m: Match, style: str) -> None:
label = m.name
if m.players[0] and m.players[1]:
label += f" ({m.players[0]} vs {m.players[1]})"
if m.teams[0] and m.teams[1]:
label += f" ({m.teams[0]} vs {m.teams[1]})"
print(f' M{m.id}["{label}"]:::{style}')