@@ -17,7 +17,7 @@ import { getEdgeParams } from './edge-helpers';
1717import { getRandomStringColor } from "@/lib/random-colors" ;
1818import { ContextMenuArrow } from '@radix-ui/react-context-menu' ;
1919import React , { Fragment , useContext , useEffect , useMemo , useState } from "react" ;
20- import { LuArrowLeft , LuArrowLeftRight , LuArrowRight , LuHash , LuShapes , LuTrendingUp , LuXCircle } from 'react-icons/lu' ;
20+ import { LuArrowLeft , LuArrowLeftRight , LuArrowRight , LuBadgeCent , LuBadgeCheck , LuCircleX , LuHash , LuShapes , LuTimer , LuTrendingUp } from 'react-icons/lu' ;
2121const asSvg = "/as.svg" ;
2222const dfSvg = "/df.svg" ;
2323const dpSvg = "/dp.svg" ;
@@ -163,7 +163,7 @@ export default function OCDeclareFlowEdge(edge: EdgeProps<CustomEdgeType> & { da
163163 const res = await toast . promise ( backend [ 'ocel/evaluate-oc-declare-arcs' ] ( [ flowEdgeToOCDECLARE ( edge , flow ) ] ) , { loading : "Evaluating..." , error : "Evaluation Failed" , success : "Evaluated!" } ) ;
164164 flow . updateEdgeData ( id , { violationInfo : { violationPercentage : 100 * res [ 0 ] } } )
165165 } } >
166- < TbDiscountCheckFilled className = 'size-4 mr-1' />
166+ < LuBadgeCheck className = 'size-4 mr-1' />
167167 Evaluate
168168 </ ContextMenuItem >
169169
@@ -353,13 +353,14 @@ import { getTypesRelationshipSupport } from "@/lib/variable-hints";
353353import { SupportDisplay } from "@/routes/visual-editor/helper/box/FilterOrConstraintEditor" ;
354354import toast from "react-hot-toast" ;
355355import { MdBarChart } from "react-icons/md" ;
356- import { TbDiscountCheckFilled } from "react-icons/tb" ;
356+ import { TbTagFilled } from "react-icons/tb" ;
357357import { ObjectTypeAssociation } from "../types/ObjectTypeAssociation" ;
358358import { OCDeclareArcLabel } from "../types/OCDeclareArcLabel" ;
359359import { MinMaxDisplayWithSugar } from "./MinMaxSugar" ;
360360import { flowEdgeToOCDECLARE , getArcTypeDisplayName } from "./oc-declare-flow-type-conversions" ;
361361import { ActivityNodeData , ActivityNodeType , ALL_EDGE_TYPES , CustomEdgeType , EdgeType } from "./oc-declare-flow-types" ;
362362import { getMarkersForEdge } from "./OCDeclareFlowEditor" ;
363+ import { IoPlay } from "react-icons/io5" ;
363364
364365function EditEdgeLabelsDialog ( { open, initialValue, onClose, colors, sourceAct, targetAct } : { open : boolean , initialValue : OCDeclareArcLabel , sourceAct : ActivityNodeData , targetAct : ActivityNodeData , onClose : ( newValue ?: OCDeclareArcLabel ) => unknown , colors ?: { type : string , color : string } [ ] } , ) {
365366 const [ value , setValue ] = useState ( { ...initialValue } ) ;
@@ -392,7 +393,7 @@ function EditEdgeLabelsDialog({ open, initialValue, onClose, colors, sourceAct,
392393 setAddValue ( { mode : t , t : ot } )
393394 } } className = "border p-1 rounded relative" >
394395 < ShowObjectTypeAssociation t = { ot } colors = { colors } />
395- < LuXCircle className = "absolute size-5 -right-2 -top-2 text-red-400 hover:text-red-600" tabIndex = { 1 } onClick = { ( ) => {
396+ < LuCircleX className = "absolute size-5 -right-2 -top-2 text-red-400 hover:text-red-600" tabIndex = { 1 } onClick = { ( ) => {
396397 setValue ( ( v ) => {
397398 const changed = [ ...v [ t ] ] ;
398399 changed . splice ( i , 1 ) ;
0 commit comments