Skip to content

Commit c407a5a

Browse files
authored
Use dictionary notation in plot (#61)
1 parent e099990 commit c407a5a

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(k + "=" + v[SOURCE_PORT_LABEL])
38+
edge_label_dict[v[SOURCE_LABEL]].append(k + "=result[" + 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)