mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-13 07:30:06 +01:00
Don’t run out of colours
This commit is contained in:
@@ -553,7 +553,7 @@ class KernelDG(nx.DiGraph):
|
||||
graph.nodes[n]["style"] = "filled"
|
||||
else:
|
||||
graph.nodes[n]["style"] += ",filled"
|
||||
graph.nodes[n]["fillcolor"] = 2 + col
|
||||
graph.nodes[n]["fillcolor"] = 2 + col % 11
|
||||
|
||||
# color edges
|
||||
for e in graph.edges:
|
||||
|
||||
Reference in New Issue
Block a user