|
|
@ -122,6 +122,7 @@ export default { |
|
|
|
var VIFRemainingLoc = [] |
|
|
|
var VIFRemainingLoc = [] |
|
|
|
var MIRemainingLoc = [] |
|
|
|
var MIRemainingLoc = [] |
|
|
|
var pushEachFinal = [] |
|
|
|
var pushEachFinal = [] |
|
|
|
|
|
|
|
|
|
|
|
this.dataFSTrans.forEach(function(element, index) { |
|
|
|
this.dataFSTrans.forEach(function(element, index) { |
|
|
|
var round = element.round |
|
|
|
var round = element.round |
|
|
|
round = JSON.parse(round[loop-1]) |
|
|
|
round = JSON.parse(round[loop-1]) |
|
|
@ -223,7 +224,7 @@ export default { |
|
|
|
var quadrantNumberLocal = this.quadrantNumber |
|
|
|
var quadrantNumberLocal = this.quadrantNumber |
|
|
|
var listofNodes = this.dataFS[34] |
|
|
|
var listofNodes = this.dataFS[34] |
|
|
|
var dataLoc = JSON.parse(this.dataFS[3+quadrantNumberLocal]) |
|
|
|
var dataLoc = JSON.parse(this.dataFS[3+quadrantNumberLocal]) |
|
|
|
|
|
|
|
|
|
|
|
var pushEachFinal = [] |
|
|
|
var pushEachFinal = [] |
|
|
|
var pushEach |
|
|
|
var pushEach |
|
|
|
var oldVal |
|
|
|
var oldVal |
|
|
@ -348,7 +349,7 @@ export default { |
|
|
|
Object.entries(dataLoc).forEach( |
|
|
|
Object.entries(dataLoc).forEach( |
|
|
|
function ([feature, value]) { |
|
|
|
function ([feature, value]) { |
|
|
|
Object.entries(value).forEach( function ([featureInside, value]) { |
|
|
|
Object.entries(value).forEach( function ([featureInside, value]) { |
|
|
|
if (feature != featureInside) { |
|
|
|
if (feature != featureInside) { |
|
|
|
if (value >= threshLoc) { |
|
|
|
if (value >= threshLoc) { |
|
|
|
links.push({"source": listofNodes.indexOf(feature), "target": listofNodes.indexOf(featureInside), "value": Math.abs(value) * 30, "lin_color": "#D3D3D3"}) |
|
|
|
links.push({"source": listofNodes.indexOf(feature), "target": listofNodes.indexOf(featureInside), "value": Math.abs(value) * 30, "lin_color": "#D3D3D3"}) |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -369,15 +370,14 @@ export default { |
|
|
|
) |
|
|
|
) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
var lengthFeatureAddRem = this.featureAddRemCount.length |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object.entries(pushEachFinal).forEach( |
|
|
|
Object.entries(pushEachFinal).forEach( |
|
|
|
function ([index, feature]) { |
|
|
|
function ([index, feature]) { |
|
|
|
feature.value.forEach(function (element, indexIns) { |
|
|
|
feature.value.forEach(function (element, indexIns) { |
|
|
|
if (element.valueIns > 0) { |
|
|
|
if (element.valueIns > 0) { |
|
|
|
links.push({"source": index, "target": (index*feature.value.length+feature.value.length+indexIns)-lengthFeatureAddRem, "value": Math.abs(element.valueIns) * 30, "lin_color": "#33a02c"}) |
|
|
|
links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#33a02c"}) |
|
|
|
} else { |
|
|
|
} |
|
|
|
links.push({"source": index, "target": (index*feature.value.length+feature.value.length+indexIns)-lengthFeatureAddRem, "value": Math.abs(element.valueIns) * 30, "lin_color": "#e31a1c"}) |
|
|
|
else { |
|
|
|
|
|
|
|
links.push({"source": index, "target": (index*feature.value.length+pushEachFinal.length+indexIns), "value": Math.abs(element.valueIns) * 30, "lin_color": "#e31a1c"}) |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
@ -624,7 +624,6 @@ export default { |
|
|
|
EventBus.$emit('UpdateIDs', IDsGather) |
|
|
|
EventBus.$emit('UpdateIDs', IDsGather) |
|
|
|
EventBus.$emit('CompareThree', IDsGather) |
|
|
|
EventBus.$emit('CompareThree', IDsGather) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -637,7 +636,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
EventBus.$emit('UpdateIDs', IDsGather) |
|
|
|
EventBus.$emit('UpdateIDs', IDsGather) |
|
|
|
if (selectionCounter == 1) { |
|
|
|
if (selectionCounter == 1) { |
|
|
|
EventBus.$emit('Default') |
|
|
|
EventBus.$emit('storeGeneration') |
|
|
|
} else if (selectionCounter == 2) { |
|
|
|
} else if (selectionCounter == 2) { |
|
|
|
EventBus.$emit('UpdateIDs', IDsGather) |
|
|
|
EventBus.$emit('UpdateIDs', IDsGather) |
|
|
|
EventBus.$emit('CompareTwo', IDsGather) |
|
|
|
EventBus.$emit('CompareTwo', IDsGather) |
|
|
|