Node Flexibility

Property Value
Type: advanced
Identifier: org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility
Meta Data Provider: options.LayeredMetaDataProvider
Value Type: org.eclipse.elk.alg.layered.options.NodeFlexibility (Enum)
Possible Values: NONE
PORT_POSITION
NODE_SIZE_WHERE_SPACE_PERMITS (@ExperimentalPropertyValue)
NODE_SIZE
Applies To: nodes
Dependencies: org.eclipse.elk.layered.nodePlacement.strategy (NodePlacementStrategy.NETWORK_SIMPLEX)
Containing Group: nodePlacement -> networkSimplex

Description

Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the ’nodeFlexibility.default’ value is used, which is specified for the node’s parent.