Skip to content

Commit

Permalink
Add label
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Feb 11, 2025
1 parent 359ea9b commit 6879e91
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyiron_workflow/nodes/composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,13 @@ def export_composite_to_dict(
Returns:
dict: The exported composite as a dictionary.
"""
data = {"inputs": {}, "outputs": {}, "nodes": {}, "edges": []}
data = {
"inputs": {},
"outputs": {},
"nodes": {},
"edges": [],
"label": workflow.label
}
for inp in workflow.inputs:
if inp.value_receiver is not None:
data["edges"].append(
Expand Down

0 comments on commit 6879e91

Please sign in to comment.