Skip to content

Commit

Permalink
Add arrows into transition labels in flowchart
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Jun 4, 2024
1 parent e06d719 commit 7bbc535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/workflow/workflow.flowchart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const WorkflowFlowchart = <W extends Workflow>(workflow: W) => {
const from = (t.from ? [...t.from].map(useState) : ['*(*)']).join(
' & ',
);
const startHalf = `${from} ${conditions}--- ${endId}`;
const startHalf = `${from} ${conditions}--> ${endId}`;

return { transition: t, startHalf, endHalf };
});
Expand Down

0 comments on commit 7bbc535

Please sign in to comment.