Skip to content
Snippets Groups Projects
Commit 9941e367 authored by s2870355's avatar s2870355
Browse files

fix - in cluster

parent 67a2b39a
No related branches found
No related tags found
No related merge requests found
Pipeline #78340 failed
......@@ -171,7 +171,7 @@ def dict_to_nodes(dictionary) -> str:
output_str = ""
for k in sorted(dictionary.keys()):
if isinstance(dictionary[k], dict):
output_str += "\n\tsubgraph cluster_" + k + "{" + "\n\t\tlabel=\"" + k + "\""
output_str += "\n\tsubgraph cluster_" + k.replace('-', '_') + "{" + "\n\t\tlabel=\"" + k + "\""
output_str += dict_to_nodes(dictionary[k]).replace('\n', "\n\t")
output_str += "\n\t}"
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment