documentationfor yFiles for HTML 2.6

HandleNaNCoordinatesStage

A ILayoutStage that temporarily removes all nodes and edges with NaN-coordinates.

Inheritance Hierarchy
LayoutStageBase
HandleNaNCoordinatesStage
Implemented Interfaces

Remarks

This layout stage may be necessary when a ILayoutAlgorithm takes the initial coordinates into account. In this case initial coordinates containing NaN-values, can cause exceptions or strange results.

Layouters that consider initial coordinates:

Since this stage only hides the invalid graph elements and doesn't apply any new coordinates, it is not defined where those nodes and edges will be placed within the calculated layout.

Type Details

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

Constructors

Properties

Methods