From e21b2a9975fe84b256d313ad6f910f285e9eb079 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Sun, 13 Apr 2025 08:12:53 +0200 Subject: [PATCH] Plot: switch order of arguments --- .../src/python_workflow_definition/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_workflow_definition/src/python_workflow_definition/plot.py b/python_workflow_definition/src/python_workflow_definition/plot.py index 94853d5..c4bcd96 100644 --- a/python_workflow_definition/src/python_workflow_definition/plot.py +++ b/python_workflow_definition/src/python_workflow_definition/plot.py @@ -35,7 +35,7 @@ def plot(file_name): if v[SOURCE_PORT_LABEL] is None: edge_label_dict[v[SOURCE_LABEL]].append(k) else: - edge_label_dict[v[SOURCE_LABEL]].append(v[SOURCE_PORT_LABEL] + "=" + k) + edge_label_dict[v[SOURCE_LABEL]].append(k + "=" + v[SOURCE_PORT_LABEL]) for k, v in edge_label_dict.items(): graph.add_edge(str(k), str(target_node), label=", ".join(v))