ELK Stress

Preview Image

Property Value
Identifier: org.eclipse.elk.stress
Meta Data Provider: options.StressMetaDataProvider


Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn’t match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths.

Category: Force

Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984.

Supported Options

Option Default Value
Desired Edge Length 100.0
Fixed Position false
Interactive false
Iteration Limit Integer.MAX_VALUE
Layout Dimension Dimension.XY
Stress Epsilon 10e-4