documentationfor yFiles for HTML 2.6

BufferedLayout

A BufferedLayout is a hull algorithm that invokes its core layout algorithm on a copy of the input graph.

Inheritance Hierarchy
LayoutStageBase
BufferedLayout
Implemented Interfaces

Remarks

After the layout process has finished, the calculated layout will be written back to the original graph.

This class also provides the possibility to perform arbitrary layout algorithms merely on a graph interface plus associated graph layout. This comes in handy if an application has its own graph and only provides a graph interface adapter to the yFiles graph layout machinery.

Default Values of Properties

coreLayoutnull

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.layout.BufferedLayout

See Also

It is recommended to run layout calculations on a copy of the original graph. Then, if for some reason the layout calculation fails, the graph won't be compromised.

Constructors

Properties

Methods