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
Hi! I have understood that nlabels_distance moves the labels in the direction determined by nlabels_align. However, increasing nlabels_distance is moving the node labels up when align is (:center, :bottom). How come? Is there a bug or is it something I did not understand about how nlabels_align determines the direction? I was expected the labels to move down when the vertical direction is :bottom. Cheers,
This might be a missunderstanding due to the choice of words. The align isn't actually the align it is position of the anchor of the textbox. I. e. (:left, :bottom) means, the lower left side of the textbox is placed exactly at the node location. If you increase the distance it further pushes the label away from the node, thus in the upper right direction.
See below, there is an example with all possibilities. The red textboxes are shifted.
Hi! I have understood that
nlabels_distance
moves the labels in the direction determined bynlabels_align
. However, increasingnlabels_distance
is moving the node labels up when align is(:center, :bottom)
. How come? Is there a bug or is it something I did not understand about hownlabels_align
determines the direction? I was expected the labels to move down when the vertical direction is:bottom
. Cheers,Exemple:
The text was updated successfully, but these errors were encountered: