Port Labels Next to Port

Property Value
Identifier: org.eclipse.elk.portLabels.nextToPortIfPossible
Meta Data Provider: core.options.CoreOptions
Value Type: boolean
Default Value: false (as defined in org.eclipse.elk)
Applies To: nodes
Containing Group: portLabels

Description

Usually, inside port labels of hierarchical nodes are placed not next to their port, but with an offset to avoid edge-label crossings. The offset is not necessary if the port has no connections that would cross the label, but is usually applied anyway to keep things uniform. Setting this option to true places labels next to their ports if they won’t be crossed by edges.