-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace 'spacing.labelNode' with 'nodeLabels.margin' #576
Comments
Sure, we could replace the label-node spacing by margins, which would be configurable for all four sides independently. You don't see a bug here, do you? I'd consider this expected behaviour? |
Not a bug but inconsistent behavior I'd say. If we were introduce
I kind of like b) since that would preserve the possibility to control all spacings using the |
Ah, I see why you find it inconsistent.
Absolutely. I guess I'd simply remove it. The spacing options are already way too complex... |
Additional changes: - retrieve margins using IndividualSpacings - retrieve margins locally instead of passing them via parameters
Feel free to participate in the PR :). |
Consider
which yields
The
labelNode
is only applied to theOUTSIDE
labels, whilepadding
is used on the inside. @le-cds is it possible thatlabelNode
is partly deprecated in this case after your node label placement changes?Maybe it's reasonable to replace the
labelNode
by a newmargins
property for the outside?The text was updated successfully, but these errors were encountered: