documentationfor yFiles for HTML 2.6

FixNodeLayoutStage

FixNodeLayoutStage fixes the initial position of either a single node or the alignment of the bounding box of several nodes (but not the positions of the individual nodes).

Inheritance Hierarchy
LayoutStageBase
FixNodeLayoutStage
Implemented Interfaces

Remarks

The absolute coordinates of the fix point are the same before and after invoking the core layout algorithm. However, the relative coordinates of the nodes are altered by the core layout algorithm.

Default Values of Properties

fixPointPolicyCENTER
includingEdgesfalseSubgraph edges are not taken into account.
includingLabelsfalseLabel geometries are not taken into account.

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.layout.FixNodeLayoutStage
This stage does not change the layout calculated by the core layout algorithm. It only moves the entire graph as a post-processing step. For use-cases with a so-called incremental layout where the algorithm should only arrange some of the elements while the other elements should not (or only slightly) change, please take a look at the PartialLayout, the HierarchicLayout (see mode INCREMENTAL), or the OrganicLayout (see scope SUBSET).

Sample Graphs

Constructors

Properties

Methods

Constants