We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f869858 commit 3dd44ecCopy full SHA for 3dd44ec
1 file changed
test/perf/affinity.py
@@ -386,6 +386,14 @@ def generate_routes(self):
386
routes.add(Conn(node_data.name, conn, 1))
387
return routes
388
389
+ def generate_dot(self):
390
+ dot_data = "graph {"
391
+ for node, node_data in self.nodes.items():
392
+ for conn in node_data.connections:
393
+ dot_data += f"{node} -- {conn}; "
394
+ dot_data += "}"
395
+ return dot_data
396
+
397
def start(self, wait=True):
398
self.dump_yaml()
399
0 commit comments