documentationfor yFiles for HTML 3.0.0.3

LineWrappingStage

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

Inheritance Hierarchy
LayoutStageBase
LineWrappingStage
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 targetRatio.

The LineWrappingStage can be used on an existing graph layout or on the result of the coreLayout.

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
algorithms

Constructors

Properties

Methods