documentationfor yFiles for HTML 2.6

GraphLayoutLineWrapper

GraphLayoutLineWrapper can line-wrap or column-wrap a graph layout.

Inheritance Hierarchy
LayoutStageBase
GraphLayoutLineWrapper
Implemented Interfaces

Remarks

This ILayoutStage supports both wrapping a layout at a given width (height) and wrapping a layout automatically at some width (height) such that the resulting overall aspect ratio is close to a desired target ratio.

The GraphLayoutLineWrapper can be used on an existing graph layout or on the result of the core layout algorithm.

Default Values of Properties

columnModefalseThe layout is wrapped horizontally, producing rows.
coreLayoutnull
edgeSpacing5
fixedWidthLineBreaksfalseThe target aspect ratio defines how the line width is chosen.
mirrortrueEvery other line is mirrored.
spacing10
targetRatio1

Type Details

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

See Also

Constructors

Properties

Methods