documentationfor yFiles for HTML 2.6

StraightLineEdgeRouter

This edge routing algorithm routes edges as straight-lines considering the specified PortConstraints.

Inheritance Hierarchy
LayoutStageBase
StraightLineEdgeRouter
Implemented Interfaces

Remarks

Layout Style

The edges connect to their ports with straight-lines. This may lead to edges crossing nodes.

Concept

StraightLineEdgeRouter will first invoke the coreLayout if one exists. Then, it will remove all bends from the edges and will place the ports either on the center of the nodes or at a location specified by a PortConstraint.

Default Values of Properties

coreLayoutnull
scopeROUTE_ALL_EDGES

Type Details

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

Constructors

Properties

Methods