From a4c6d84b0c75d7bc4e128b2ba2950a63a2884b4c Mon Sep 17 00:00:00 2001 From: Robin Leroy Date: Wed, 1 Jan 2025 03:55:51 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20spam=20filled=20until=20dot=20b?= =?UTF-8?q?reaks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osaca/semantics/kernel_dg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osaca/semantics/kernel_dg.py b/osaca/semantics/kernel_dg.py index efde5a4..5332a3e 100644 --- a/osaca/semantics/kernel_dg.py +++ b/osaca/semantics/kernel_dg.py @@ -551,7 +551,7 @@ class KernelDG(nx.DiGraph): if n in lcd_line_numbers[dep]: if "style" not in graph.nodes[n]: graph.nodes[n]["style"] = "filled" - else: + elif ",filled" not in graph.nodes[n]["style"]: graph.nodes[n]["style"] += ",filled" graph.nodes[n]["fillcolor"] = 2 + col % 11