Default value given to a textPath's startOffet attribute to fix an error

This commit is contained in:
Alejandro Gallardo Escobar 2018-12-04 16:42:19 +01:00
parent f81cbed374
commit 3c317c182d

View File

@ -3306,7 +3306,7 @@ function draw_elements_graph() {
})
.attr("startOffset", function (d) {
if (d.source.x < d.target.x) {
return "";
return "0%";
}
else {
return "85%";
@ -3356,7 +3356,7 @@ function draw_elements_graph() {
return "85%";
}
else {
return "";
return "0%";
}
})
.attr("text-anchor", function (d) {