mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Fixed draw link without color
This commit is contained in:
parent
b29271a3c0
commit
877607e63e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user