documentationfor yFiles for HTML 2.6

BendConverter

BendConverter replaces edge bends with dummy nodes for the core layout algorithm.

Inheritance Hierarchy
BendConverter
Implemented Interfaces

Remarks

Concept

Replacing the bends works in three steps:

  1. Replacing the bends and the edge segments between them with dummy nodes and edges
  2. Invoking the core layout algorithm on the altered graph
  3. Recreating the bends and removing all dummy elements

When the dummy elements have been inserted, edge information about port constraints, edge groups and selection state can be adopted from the original edges. That way, the core layout algorithm can access the mentioned information.

Default Values of Properties

adoptAffectedEdgestrueThe selection state of the original edge is applied to all corresponding dummy edges.
adoptEdgeGroupstrueOriginal edge grouping information is applied to the dummy edges.
adoptPortConstraintstrues of the original edges are applied to the dummy edges.
affectedEdgesDpKeyAFFECTED_EDGES_DP_KEY
coreLayoutnull

Type Details

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

Constructors

Properties

Methods

Constants