-
-
-
-
-
-
-
-
-
-
-
-
- {{ label }}
-
-
-
-
Controls:
-
โข Delete: Remove selected
-
โข Shift: Select nodes
-
โข Drag between nodes to connect
-
โข Double-click to remove
-
Edge Features:
-
โข Arrows show flow direction
-
โข Select edge for controls
-
โข Blue dot = drag to reposition
-
โข Reset button restores path
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ label }}
+
+
+
+
Controls:
+
โข Delete: Remove selected
+
โข Shift: Select nodes
+
โข Drag between nodes to connect
+
โข Double-click to remove
+
Edge Features:
+
โข Arrows show flow direction
+
โข Select edge for controls
+
โข Blue dot = drag to reposition
+
โข Reset button restores path
+
+
+
@@ -1255,12 +1416,12 @@ function fromObject(flowObject) {
height: calc(100vh - 120px);
min-height: 300px;
}
-
+
:deep(.vue-flow__controls) {
transform: scale(0.8);
transform-origin: bottom right;
}
-
+
:deep(.vue-flow__minimap) {
transform: scale(0.8);
transform-origin: top right;
@@ -1284,7 +1445,9 @@ function fromObject(flowObject) {
:deep(.vue-flow__edge-path) {
stroke: #555;
stroke-width: 2px;
- transition: stroke-width 0.2s ease, stroke 0.2s ease;
+ transition:
+ stroke-width 0.2s ease,
+ stroke 0.2s ease;
}
:deep(.vue-flow__edge.selected .vue-flow__edge-path) {
@@ -1329,7 +1492,9 @@ function fromObject(flowObject) {
:deep(.edge-control-point) {
cursor: move !important;
opacity: 0;
- transition: opacity 0.2s ease, r 0.2s ease;
+ transition:
+ opacity 0.2s ease,
+ r 0.2s ease;
}
:deep(.vue-flow__edge.selected .edge-control-point) {
@@ -1365,7 +1530,7 @@ function fromObject(flowObject) {
}
:deep(.node-start .custom-node-icon .material-icons) {
- color: #4CAF50;
+ color: #4caf50;
}
:deep(.node-end .custom-node-icon .material-icons) {
@@ -1373,20 +1538,20 @@ function fromObject(flowObject) {
}
:deep(.node-task .custom-node-icon .material-icons) {
- color: #2196F3;
+ color: #2196f3;
}
:deep(.node-form .custom-node-icon .material-icons) {
- color: #9C27B0;
+ color: #9c27b0;
}
:deep(.node-gateway .custom-node-icon .material-icons) {
- color: #FF9800;
+ color: #ff9800;
font-size: 18px;
}
:deep(.node-script .custom-node-icon .material-icons) {
- color: #607D8B;
+ color: #607d8b;
}
:deep(.node-html .custom-node-icon .material-icons) {
@@ -1441,14 +1606,15 @@ function fromObject(flowObject) {
box-shadow: 0 0 0 2px #ff6b6b;
}
-
/* Target both Vue Flow nodes and custom nodes - updated highlighting */
:deep(.vue-flow__node.highlighted-node),
:deep(.vue-flow__node[data-highlighted="true"]),
:deep(.vue-flow__node .custom-node.highlighted-node),
:deep(.vue-flow__node .custom-node[data-highlighted="true"]) {
animation: highlightPulse 2s ease-in-out infinite !important;
- box-shadow: 0 0 0 3px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.4) !important;
+ box-shadow:
+ 0 0 0 3px #3b82f6,
+ 0 0 20px rgba(59, 130, 246, 0.4) !important;
z-index: 999 !important;
transform: scale(1.05) !important;
transition: transform 0.3s ease-in-out !important;
@@ -1458,18 +1624,25 @@ function fromObject(flowObject) {
:deep(.custom-node.highlighted-node),
:deep(.custom-node[data-highlighted="true"]) {
animation: highlightPulse 2s ease-in-out infinite !important;
- box-shadow: 0 0 0 3px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.4) !important;
+ box-shadow:
+ 0 0 0 3px #3b82f6,
+ 0 0 20px rgba(59, 130, 246, 0.4) !important;
z-index: 999 !important;
transform: scale(1.05) !important;
transition: transform 0.3s ease-in-out !important;
}
@keyframes highlightPulse {
- 0%, 100% {
- box-shadow: 0 0 0 3px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.4);
+ 0%,
+ 100% {
+ box-shadow:
+ 0 0 0 3px #3b82f6,
+ 0 0 20px rgba(59, 130, 246, 0.4);
}
50% {
- box-shadow: 0 0 0 5px #60a5fa, 0 0 30px rgba(96, 165, 250, 0.6);
+ box-shadow:
+ 0 0 0 5px #60a5fa,
+ 0 0 30px rgba(96, 165, 250, 0.6);
}
}
-
\ No newline at end of file
+
diff --git a/pages/process-builder/index.vue b/pages/process-builder/index.vue
index 25ff56a..f268030 100644
--- a/pages/process-builder/index.vue
+++ b/pages/process-builder/index.vue
@@ -2118,7 +2118,9 @@ const sendToBack = () => {
-
+
+
+
{
@close="showProcessHistoryModal = false"
@restored="handleProcessRestored"
/>
-
+
+
+