Fixed draw link without color

This commit is contained in:
danielmaya 2018-01-10 11:42:17 +01:00
parent b29271a3c0
commit 877607e63e

View File

@ -3218,7 +3218,13 @@ function draw_elements_graph() {
"id_module_start_" + d.id_module_start + " " +
"id_module_end_" + d.id_module_end;
})
.attr("stroke", function (d) { return d.link_color; })
.attr("stroke", function (d) {
if(d.link_color === undefined) {
return "#999";
} else {
return d.link_color;
}
})
.attr("stroke-width", 3)
.attr("d", null)
.attr('marker-start', function (d) {