martmull
2025-08-25 15:14:05 +02:00
committed by GitHub
parent 9f16b13843
commit 97e5f06ff9
18 changed files with 243 additions and 122 deletions
@@ -0,0 +1,5 @@
export enum EdgeBranchArrowMarker {
Default = 'edge-branch-arrow-default',
Hover = 'edge-branch-arrow-hover',
Selected = 'edge-branch-arrow-selected',
}
@@ -1 +0,0 @@
export const EDGE_BRANCH_ARROW_MARKER_ID = 'workflow-edge-branch-arrow';
@@ -1,4 +1,4 @@
import { EDGE_BRANCH_ARROW_MARKER_ID } from '@/workflow/workflow-diagram/constants/EdgeBranchArrowMarkerId';
import { EdgeBranchArrowMarker } from '@/workflow/workflow-diagram/constants/EdgeBranchArrowMarker';
import {
type WorkflowDiagramEdge,
type WorkflowDiagramEdgeType,
@@ -7,7 +7,7 @@ import {
export const WORKFLOW_VISUALIZER_EDGE_DEFAULT_CONFIGURATION = {
type: 'empty-filter--readonly' satisfies WorkflowDiagramEdgeType,
markerStart: undefined,
markerEnd: EDGE_BRANCH_ARROW_MARKER_ID,
markerEnd: EdgeBranchArrowMarker.Default,
deletable: false,
selectable: false,
data: {