Merge branch '1757-No-se-pintan-enlace-a-los-elementos-cuando-se-asignan-padre-e-hijo-dev' into 'develop'

Fixed draw link without color

See merge request artica/pandorafms!1240
This commit is contained in:
vgilc 2018-01-10 17:07:01 +01:00
commit 5faa51fd9d
1 changed files with 7 additions and 1 deletions

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) {