Draw2D Layout

Preview Image

Property Value
Identifier: org.eclipse.elk.conn.gmf.layouter.Draw2D
Meta Data Provider: GmfMetaDataProvider

Description

‘Directed Graph Layout’ provided by the Draw2D framework. This is the same algorithm that is used by the standard layout button of GMF diagrams.

Category: Layered

The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called “hierarchies”, and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.

Supported Graph Features

Name Description
Multi Edges Multiple edges with the same source and target node.

Supported Options

Option Default Value
Direction Direction.RIGHT
Node Size Constraints EnumSet.noneOf(SizeConstraint)
Node Spacing 16
Padding new ElkPadding(16)