footprint-explainable-ui 0.14.9 → 0.14.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flowchart.cjs +5 -5
- package/dist/flowchart.cjs.map +1 -1
- package/dist/flowchart.js +5 -5
- package/dist/flowchart.js.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/flowchart.cjs
CHANGED
|
@@ -854,14 +854,14 @@ function applyOverlay(layout, overlay, colors) {
|
|
|
854
854
|
label: le.label ?? "loop",
|
|
855
855
|
type: "smoothstep",
|
|
856
856
|
pathOptions: { offset: 60, borderRadius: 20 },
|
|
857
|
-
markerEnd: { type: import_react7.MarkerType.ArrowClosed, color: c.edgeLoop, width: 16, height: 16 },
|
|
857
|
+
markerEnd: { type: import_react7.MarkerType.ArrowClosed, color: loopExecuted ? c.edgeActive : c.edgeLoop, width: 16, height: 16 },
|
|
858
858
|
style: {
|
|
859
|
-
stroke: c.edgeLoop,
|
|
860
|
-
strokeWidth: loopExecuted ?
|
|
861
|
-
strokeDasharray: "6 3",
|
|
859
|
+
stroke: loopExecuted ? c.edgeActive : c.edgeLoop,
|
|
860
|
+
strokeWidth: loopExecuted ? 4 : 2,
|
|
861
|
+
strokeDasharray: loopExecuted ? void 0 : "6 3",
|
|
862
862
|
opacity: o && !loopExecuted ? 0.35 : 1
|
|
863
863
|
},
|
|
864
|
-
labelStyle: { fontSize: 10, fontWeight: 700, fill: c.labelLoop },
|
|
864
|
+
labelStyle: { fontSize: 10, fontWeight: 700, fill: loopExecuted ? c.edgeActive : c.labelLoop },
|
|
865
865
|
animated: loopExecuted,
|
|
866
866
|
zIndex: 2
|
|
867
867
|
});
|