Skip to content

Replace 'spacing.labelNode' with 'nodeLabels.margin'  #576

@uruuru

Description

@uruuru

Consider

// TODO only applied to outside labels?
spacing.labelNode: 30
nodeLabels.padding: "[top=10.0,left=10.0,bottom=10.0,right=10.0]"

node n3 {
	nodeLabels.placement: "H_CENTER V_TOP INSIDE"
	label "label1"
	label "label2"
}

node n4 {
	nodeLabels.placement: "H_CENTER V_TOP OUTSIDE"
	label "label1"
	label "label2"
}

which yields
image

The labelNode is only applied to the OUTSIDE labels, while padding is used on the inside. @le-cds is it possible that labelNode is partly deprecated in this case after your node label placement changes?
Maybe it's reasonable to replace the labelNode by a new margins property for the outside?

Metadata

Metadata

Labels

discussionFurther discussion required before implementation.questionRequest for support in using ELK.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions