documentationfor yFiles for HTML 2.6

OrganicPartitionGridLayoutStage

This layout stage enables support for handling a graph with a PartitionGrid structure.

Inheritance Hierarchy
LayoutStageBase
OrganicPartitionGridLayoutStage
Implemented Interfaces

Remarks

Concept

Before executing the core layout algorithm, this stage prepares the grid structure of the graph accordingly, e.g., by hiding top-level grid nodes. Then, the core layout algorithm is applied to the graph. Finally, the grid is restored, configured and positioned such that it is consistent with the layout computed by the core algorithm.

Information about the PartitionGrid structure is retrieved from a IDataProvider registered with the graph using key PARTITION_GRID_DP_KEY.

Usage

When using OrganicLayout, this stage will automatically be used, if required. It is not necessary to append this stage manually to OrganicLayout.

Appending this stage can be useful to add support for partition grid structures to other ILayoutAlgorithms.

The stage can be appended to all algorithms of type MultiStageLayout by using method appendStage.

Default Values of Properties

coreLayoutnull

Type Details

yfiles module
layout-organic
yfiles-umd modules
layout-multipage, layout-organic, layout
Legacy UMD name
yfiles.organic.OrganicPartitionGridLayoutStage

See Also

Group nodes that span multiple grid cells are not supported by this stage.
Groups with fixed bounds or fixed content are not supported by this stage.

Constructors

Properties

Methods