documentationfor yFiles for HTML 2.6

RemoveOverlapsStage

This ILayoutStage removes node overlaps and guarantees a certain minimum distance between nodes.

Inheritance Hierarchy
RemoveOverlapsStage
Implemented Interfaces

Remarks

Layout Style

This stage only removes overlaps between nodes of the input graph. To do so, overlapping nodes will be moved apart. Results often look like a stretched version of the original graph. Before removing the node overlaps, an optional core layout algorithm is applied.

A graph containing overlaps (left) and the result after the overlap removal

Features

It is possible to define a minimum distance between nodes. This feature allows to not only remove overlaps but forces nodes to keep a specified distance to other nodes.

Default Values of Properties

coreLayoutnull

Type Details

yfiles module
layout-organic
yfiles-umd modules
layout-multipage, layout-organic, layout
Legacy UMD name
yfiles.organic.RemoveOverlapsStage

See Also

Overlaps between nodes and edges are not removed by this stage.
This stage does not directly support group nodes. However, if the graph contains groups, this stage can be applied as core layout algorithm of the RecursiveGroupLayout.

Constructors

Properties

Methods