Add workflow success edge (#10120)
- Refactor the handles: the source handles are now part of the edges as markerStart - **As the source handles are now part of the edges, we can delete the `markLeafNodes` logic; this can be done in another PR**. See https://github.com/twentyhq/core-team-issues/issues/386 - Create a custom edge component for the default edge - Create a custom edge component for the success edge; this includes a label **The edges can be tested in Storybook. I wrote two stories for the edges.** | Default | Success | |--------|--------| |  |  |
This commit is contained in:
committed by
GitHub
parent
4f06b83d7f
commit
179d3ae2a4
@ -80,7 +80,7 @@ export const CardComponents: Record<CardType, CardComponentType> = {
|
||||
[CardType.WorkflowCard]: ({ targetableObject }) => (
|
||||
<>
|
||||
<WorkflowVisualizerEffect workflowId={targetableObject.id} />
|
||||
<WorkflowVisualizer targetableObject={targetableObject} />
|
||||
<WorkflowVisualizer workflowId={targetableObject.id} />
|
||||
</>
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user