refactor(euclid): make the disabled node's relation as negative (#5701)

This commit is contained in:
Prajjwal Kumar
2024-08-26 23:30:21 +05:30
committed by GitHub
parent 32db5dd1ca
commit e904d0fa0d

View File

@ -590,7 +590,7 @@ fn compile_accepted_countries_for_mca(
.map_err(KgraphError::GraphConstructionError)?;
agg_nodes.push((
pm_object_country_value_node,
cgraph::Relation::Positive,
cgraph::Relation::Negative,
cgraph::Strength::Weak,
));
}
@ -712,7 +712,7 @@ fn compile_accepted_currency_for_mca(
.map_err(KgraphError::GraphConstructionError)?;
agg_nodes.push((
pm_object_currency_value_node,
cgraph::Relation::Positive,
cgraph::Relation::Negative,
cgraph::Strength::Weak,
));
}