documentationfor yFiles for HTML 2.6

AspectRatioComponentLayerer

This class is a wrapper ILayerer implementation that delegates the actual layering to a delegate ILayerer object.

Inheritance Hierarchy
AspectRatioComponentLayerer
Implemented Interfaces

Remarks

If the graph consists of multiple components, they will be identified and each of the components will be layered separately using the delegate ILayerer instance. After that they will all be merged such that the desired aspect ratio is fulfilled best.

Sample output of AspectRatioComponentLayerer with default settings on a graph with two connected components.

Default Values of Properties

considerNodeSizetrue
desiredAspectRatio1

Type Details

yfiles module
layout-hierarchic
yfiles-umd modules
layout-familytree, layout-hierarchic, layout-radial, layout
Legacy UMD name
yfiles.hierarchic.AspectRatioComponentLayerer

See Also

For grouped graphs, the desired aspect ratio is also considered for each group node separately.

Constructors

Properties

Methods