| ... | ... | @@ -22,6 +22,7 @@ | 
| 22 | 22 | import { Icon } from '/@/components/Icon'; | 
| 23 | 23 | import { UpdateNodeDrawer } from './src/components/UpdateNodeDrawer'; | 
| 24 | 24 | import { UpdateEdgeDrawer } from './src/components/UpdateEdgeDrawer'; | 
|  | 25 | +  import { NodeData } from './types/node'; | 
| 25 | 26 |  | 
| 26 | 27 | const getId = Number(Math.random().toString().substring(2)).toString(16); | 
| 27 | 28 |  | 
| ... | ... | @@ -46,6 +47,7 @@ | 
| 46 | 47 | triggerChange, | 
| 47 | 48 | handleApplyChange, | 
| 48 | 49 | handleRedoChange, | 
|  | 50 | +    handleRemoveDebug, | 
| 49 | 51 | } = useSaveAndRedo(); | 
| 50 | 52 |  | 
| 51 | 53 | const { flowActionType } = useRuleFlow({ | 
| ... | ... | @@ -72,6 +74,10 @@ | 
| 72 | 74 |  | 
| 73 | 75 | const getDeleteDisplayState = computed(() => unref(flowActionType.getSelectedElements).length); | 
| 74 | 76 |  | 
|  | 77 | +  const getDebugMarker = computed(() => | 
|  | 78 | +    flowActionType.getNodes.value.some((item) => (item.data as NodeData).data?.debugMode) | 
|  | 79 | +  ); | 
|  | 80 | + | 
| 75 | 81 | const handleDeleteSelectionElements = () => { | 
| 76 | 82 | flowActionType.removeEdges(unref(flowActionType.getSelectedEdges)); | 
| 77 | 83 | flowActionType.removeNodes(unref(flowActionType.getSelectedNodes)); | 
| ... | ... | @@ -127,7 +133,9 @@ | 
| 127 | 133 | <Icon class="!text-3xl !text-light-50" icon="mdi:delete" /> | 
| 128 | 134 | </button> | 
| 129 | 135 | <button | 
|  | 136 | +              :class="getDebugMarker ? '!bg-orange-600 !opacity-100' : 'opacity-50'" | 
| 130 | 137 | class="button-box-shadow w-14 h-14 flex justify-center items-center bg-gray-400 rounded-full opacity-50" | 
|  | 138 | +              @click="handleRemoveDebug(flowActionType)" | 
| 131 | 139 | > | 
| 132 | 140 | <Icon class="!text-3xl !text-light-50" icon="carbon:debug" /> | 
| 133 | 141 | </button> | 
... | ... |  |