diff --git a/frontend/src/components/editor/Step3FinalGraph.jsx b/frontend/src/components/editor/Step3FinalGraph.jsx index abc7a06..4a8fcbd 100644 --- a/frontend/src/components/editor/Step3FinalGraph.jsx +++ b/frontend/src/components/editor/Step3FinalGraph.jsx @@ -86,7 +86,7 @@ const Step3FinalGraph = memo(({ data, criterionName }) => { {/* Evaluador Manual */} {isReady && sortedResults.length > 0 && ( -
+
)} diff --git a/frontend/src/components/editor/finalGraph/MembershipEvaluator.jsx b/frontend/src/components/editor/finalGraph/MembershipEvaluator.jsx index 38a348e..c41f75e 100644 --- a/frontend/src/components/editor/finalGraph/MembershipEvaluator.jsx +++ b/frontend/src/components/editor/finalGraph/MembershipEvaluator.jsx @@ -19,27 +19,27 @@ const filterActive = (results) => const TermResult = ({ result }) => { const uncertainty = result.isType2 ? Math.abs(result.upper - result.lower) : 0; - const isSimple = !result.isType2 || uncertainty < 0.001; + const isSimple = !result.isType2 || uncertainty <= 0.001; const displayY = result.isType2 ? result.upper : result.y; return ( -
- +
+ {result.term} {isSimple ? ( - + Pertenencia: {displayY.toFixed(3)} ) : ( <> - - Inferior: {result.lower.toFixed(3)} + + Mínimo: {result.lower.toFixed(3)} - - Superior: {result.upper.toFixed(3)} + + Máximo: {result.upper.toFixed(3)} - + Incertidumbre: {uncertainty.toFixed(3)}