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:
commit
5faa51fd9d
|
@ -3218,7 +3218,13 @@ function draw_elements_graph() {
|
||||||
"id_module_start_" + d.id_module_start + " " +
|
"id_module_start_" + d.id_module_start + " " +
|
||||||
"id_module_end_" + d.id_module_end;
|
"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("stroke-width", 3)
|
||||||
.attr("d", null)
|
.attr("d", null)
|
||||||
.attr('marker-start', function (d) {
|
.attr('marker-start', function (d) {
|
||||||
|
|
Loading…
Reference in New Issue