Skip to content

Commit e099990

Browse files
authored
Plot: switch order of arguments (#60)
1 parent 8f2c78a commit e099990

File tree

1 file changed

+1
-1
lines changed
  • python_workflow_definition/src/python_workflow_definition

1 file changed

+1
-1
lines changed

python_workflow_definition/src/python_workflow_definition/plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def plot(file_name):
3535
if v[SOURCE_PORT_LABEL] is None:
3636
edge_label_dict[v[SOURCE_LABEL]].append(k)
3737
else:
38-
edge_label_dict[v[SOURCE_LABEL]].append(v[SOURCE_PORT_LABEL] + "=" + k)
38+
edge_label_dict[v[SOURCE_LABEL]].append(k + "=" + v[SOURCE_PORT_LABEL])
3939
for k, v in edge_label_dict.items():
4040
graph.add_edge(str(k), str(target_node), label=", ".join(v))
4141

0 commit comments

Comments
 (0)