diff --git a/__pycache__/run.cpython-38.pyc b/__pycache__/run.cpython-38.pyc index 5e0db92..e079875 100644 Binary files a/__pycache__/run.cpython-38.pyc and b/__pycache__/run.cpython-38.pyc differ diff --git a/frontend/src/components/FeatureSpaceDetail.vue b/frontend/src/components/FeatureSpaceDetail.vue index aa9f083..a99943e 100644 --- a/frontend/src/components/FeatureSpaceDetail.vue +++ b/frontend/src/components/FeatureSpaceDetail.vue @@ -179,7 +179,6 @@ export default { newVal = newVal / listofNodes.length outcome = oldVal - newVal pushEach.push({keyIns: featureNames[(index)*numberOfTransformations+1], valueIns: outcome}) - console.log(pushEach) var transf3 = element.transf3 corrMatrixCombTotalLoc.push(Object.values(JSON.parse(transf3[10+quadrantNumberLocal]))[0] * 100) MIRemainingLoc.push(JSON.parse(transf3[20+quadrantNumberLocal])) @@ -780,8 +779,9 @@ export default { feature.value.forEach(function (element, indexIns) { if (element.valueIns > 0) { links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#33a02c"}) - } - else { + } else if (element.valueIns == 0) { + links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": 0.01 * 30, "lin_color": "#D3D3D3"}) + } else { links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#e31a1c"}) } })