Init to show all mm links (between the same agent)

This commit is contained in:
Arturo Gonzalez 2017-03-24 12:47:28 +01:00
parent efa8a2c779
commit 2c3412a8a2
2 changed files with 5 additions and 5 deletions

View File

@ -1038,7 +1038,7 @@ function clean_duplicate_links ($relations) {
if (enterprise_installed()) {
delete_link($segregation_links['mm'][$index_to_del]);
}
unset($segregation_links['mm'][$index_to_del]);
//unset($segregation_links['mm'][$index_to_del]);
}
$index_to_del++;
}
@ -1142,8 +1142,8 @@ function clean_duplicate_links ($relations) {
}
$final_links3['aa'] = $final_links2['aa'];
$final_links3['mm'] = $final_links2['mm'];
$final_links3['am'] = $final_links2['am'];
$final_links3['mm'] = $segregation_links['mm'];
$final_links3['am'] = $segregation_links['am'];
$final_links3['ff'] = $final_links2['ff'];
$cleaned_links = array();

View File

@ -2786,9 +2786,9 @@ function myMouseoutRhombusFunction(node_id) {
function draw_elements_graph() {
link = link.data(force.links(), function(d) {
return d.source.id + networkmap_id + "-" + d.target.id + networkmap_id;
return d.source.id + networkmap_id + "-" + d.target.id + networkmap_id + Math.random();
});
console.log(link);
link_temp = link.enter()
.append("g")
.attr("id", function(d) {