diff --git a/pandora_console/include/javascript/functions_pandora_networkmap.js b/pandora_console/include/javascript/functions_pandora_networkmap.js index b9476a195e..093699da7a 100644 --- a/pandora_console/include/javascript/functions_pandora_networkmap.js +++ b/pandora_console/include/javascript/functions_pandora_networkmap.js @@ -1147,7 +1147,7 @@ function zoom(manual) { function set_positions_graph() { link.selectAll("path.link") .attr("d", function(d) { - if (d.arrow_end == "module" && d.arrow_start == "module") { + if (d.arrow_end == "module" || d.arrow_start == "module") { return arcPath(true, d); } else { @@ -1158,7 +1158,7 @@ function set_positions_graph() { link.selectAll("path.link_reverse") .attr("d", function(d) { - if (d.arrow_end == "module" && d.arrow_start == "module") { + if (d.arrow_end == "module" || d.arrow_start == "module") { return arcPath(false, d); } else {