documentationfor yFiles for HTML 3.0.0.3

Usages of ILayoutStage

Properties

stackin LayoutStageStackGets the raw list of stages in the stack.

Method Return Values

addPostprocessor (ILayoutAlgorithm)in LayoutStageStackAdds a layout algorithm as a post-processing stage to the stack.
addPreprocessor (ILayoutAlgorithm)in LayoutStageStackAdds a layout algorithm as a pre-processing stage to the stack.
append (ILayoutStage)in LayoutStageStackAppends a new stage to the end of the stack.
appendCoreLayout (ILayoutAlgorithm)in LayoutStageStackAppends a core layout algorithm to the stack.
prepend (ILayoutStage)in LayoutStageStackPrepends a new stage to the beginning of the stack.
replace (Constructor<T>, T)in LayoutStageStackReplaces an existing layout stage of a specified type on the stack with a new stage.
createBestFitRotationStage (Size?)in LayoutTransformationsCreates an ILayoutStage that rotates the LayoutGraph to best fit the given preferredAspectRatio.
createMirroringStage (boolean, number?)in LayoutTransformationsCreates an ILayoutStage that mirrors the LayoutGraph.
createRotationStage (number, Point?)in LayoutTransformationsCreates an ILayoutStage that rotates the LayoutGraph clockwise by a given rotationAngle.
createScalingStage (number?, number?, boolean?, Point?)in LayoutTransformationsCreates an ILayoutStage that scales the LayoutGraph.
createTranslationStage (number?, number?, ILinkedItemEnumerable<LayoutNode>?)in LayoutTransformationsCreates an ILayoutStage that translates the LayoutGraph.

Method Parameters

append (ILayoutStage)in LayoutStageStackAppends a new stage to the end of the stack.
linkCoreLayouts (IEnumerable<ILayoutStage>, function(LayoutGraph):void?)in LayoutStageStackChains a collection of ILayoutStage instances together and configures them into a stack.
prepend (ILayoutStage)in LayoutStageStackPrepends a new stage to the beginning of the stack.
remove (ILayoutStage)in LayoutStageStackRemoves a specific stage from the stack.

Implementing Types

LayoutStageBaseAbstract base class implementing ILayoutStage that handles the management of the coreLayout.