documentationfor yFiles for HTML 2.6

SimpleBend

A mutable implementation of the IBend interface that can be used without an IGraph.

Inheritance Hierarchy
SimpleBend
Implemented Interfaces

Remarks

Note that this class is not the one used as the default implementation of a DefaultGraph's IBends and casting them to SimpleBend will fail. Instances of this class can be used without an accompanying graph instance. All of the properties are mutable. An example of a possible use case would be the rendering of a SimpleEdge with bends into a graphics context: Simply create two SimpleNodes, a SimpleEdge to connect the two nodes and add instances of this class to the edge's bends model. Then render the edge.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.graph.SimpleBend

Constructors

Properties

Methods