You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please make sure to read the following list before creating a new issue:
vis-network 9.1.2, when using an edge with "top" for its label alignment, the label jumps to the origin if the two endpoints have the same y coordinate and from.x > to.x. This is because drawLabel doesn't call translate if the rotation angle is zero here, but Label._setAlignment zeroes out the x and y values here seemingly under the belief that the context has already been translated.
The text was updated successfully, but these errors were encountered:
Please make sure to read the following list before creating a new issue:
vis-network 9.1.2, when using an edge with
"top"
for its label alignment, the label jumps to the origin if the two endpoints have the samey
coordinate andfrom.x > to.x
. This is becausedrawLabel
doesn't calltranslate
if the rotation angle is zero here, butLabel._setAlignment
zeroes out thex
andy
values here seemingly under the belief that the context has already been translated.The text was updated successfully, but these errors were encountered: