Don’t spam filled until dot breaks

This commit is contained in:
Robin Leroy
2025-01-01 03:55:51 +01:00
parent 7d900fde38
commit e096cf4704

View File

@@ -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