ELK Mr. Tree

Preview Image

Property Value
Identifier: org.eclipse.elk.mrtree
Meta Data Provider: options.MrTreeMetaDataProvider

Description

Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn’t use Mr. Tree Layout.

Category: Tree

Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type.

Supported Graph Features

Name Description
Disconnected Multiple connected components.

Supported Options

Option Default Value
Aspect Ratio 1.6f
Debug Mode false
Node Spacing 20
Padding new ElkPadding(20)
Priority 1
Search Order TreeifyingOrder.DFS
Separate Connected Components true
Weighting of Nodes OrderWeighting.DESCENDANTS