documentationfor yFiles for HTML 2.6

TopLevelGroupToSwimlaneStage

This layout stage can be used for automatically assigning SwimlaneDescriptor instances to nodes by treating top-level group nodes as swimlanes.

Inheritance Hierarchy
LayoutStageBase
TopLevelGroupToSwimlaneStage
Implemented Interfaces

Remarks

This stage will modify the hierarchy by temporarily removing the top-level group nodes and assigning corresponding descriptors to the remaining nodes. After running the core layout, the top-level group nodes will be arranged to function as swimlanes. This class allows using the current coordinates of the group nodes to arrange the swimlanes from sketch. Also, the spacing between swimlanes may be specified.

This stage can be appended to the HierarchicLayout.

Default Values of Properties

orderSwimlanesFromSketchfalseThe order of the swimlanes is not determined from the current sketch.
spacing0.0d

Type Details

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

See Also

Constructors

Properties

Methods