diff --git a/.changeset/orange-coins-speak.md b/.changeset/orange-coins-speak.md new file mode 100644 index 0000000..0ce8ed6 --- /dev/null +++ b/.changeset/orange-coins-speak.md @@ -0,0 +1,5 @@ +--- +"@inngest/workflow-kit": minor +--- + +Show edge names in editor diff --git a/packages/workflow/src/ui/layout.tsx b/packages/workflow/src/ui/layout.tsx index f5e248a..c84ae6b 100644 --- a/packages/workflow/src/ui/layout.tsx +++ b/packages/workflow/src/ui/layout.tsx @@ -162,6 +162,7 @@ export const parseWorkflow = ({ workflow, trigger, blankNodeParent }: parseWorkf id: `${edge.from}-${edge.to}`, source: edge.from, target: edge.to, + label: edge.name, type: 'smoothstep', }); });