documentationfor yFiles for HTML 2.6

SimpleEdge

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

Inheritance Hierarchy
SimpleEdge
Implemented Interfaces

Remarks

Note that this class is not the one used as the default implementation of a DefaultGraph's IEdges and casting them to SimpleEdge 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 an edge into a graphics context: Simply create a SimpleEdge, associate a style with it and use the style's renderer instance to obtain a rendering for the edge.

Type Details

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

Constructors

Properties

Methods