Added AMA edges to list of links with the same parent and children

This commit is contained in:
Arturo Gonzalez 2017-03-27 16:37:26 +02:00
parent 311143067a
commit 27e8ddcdaf

View File

@ -1147,7 +1147,7 @@ function zoom(manual) {
function set_positions_graph() { function set_positions_graph() {
link.selectAll("path.link") link.selectAll("path.link")
.attr("d", function(d) { .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); return arcPath(true, d);
} }
else { else {
@ -1158,7 +1158,7 @@ function set_positions_graph() {
link.selectAll("path.link_reverse") link.selectAll("path.link_reverse")
.attr("d", function(d) { .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); return arcPath(false, d);
} }
else { else {