documentationfor yFiles for HTML 3.0.0.3

BendSubstitutionStage

BendSubstitutionStage replaces edge bends with proxy nodes for the coreLayout.

Inheritance Hierarchy
LayoutStageBase
BendSubstitutionStage
Implemented Interfaces

Remarks

Concept

Replacing the bends works in three steps:

  1. Replacing the bends and the edge segments between them with proxy nodes and edges
  2. Invoking the coreLayout on the altered graph
  3. Recreating the bends and removing all inserted proxy elements

When the temporary proxy elements have been inserted, edge information about port candidates, edge groups and selection state can be adopted from the original edges. That way, the coreLayout can access the mentioned information.

Default Values of Properties

adoptAffectedEdgestrueThe selection state of the original edge is applied to all corresponding proxy edges.
adoptEdgeGroupstrueOriginal edge grouping information is applied to the proxy edges.
adoptPortCandidatestrues of the original edges are applied to the proxy edges.

Type Details

yFiles module
algorithms

Constructors

Properties

Methods

Constants