documentationfor yFiles for HTML 2.6

IEdgeStyle

Style implementation for IEdge instances in an IGraph.

Remarks

Implementations are responsible for rendering IEdge instances in a CanvasComponent. It is up to the implementation to interpret the visual appearance of an edge. The framework uses the associated, possibly shared renderer to perform the actual rendering of this style for a given edge. This interface extends the ICloneable interface. This allows clients to obtain a persistent copy of the current state of this style. Immutable style implementations may return themselves.

Related Reading in the Developer's Guide

Working with styles (and their style renderers) is explained in detail in the section Visualization of Graph Elements: Styles.

Related Programming Samples

Custom Styles
Shows how to create custom styles for nodes, edges, labels, ports, and edge arrows.
01 Create a Polyline
Create a simple edge style using SVG

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.styles.IEdgeStyle

See Also

Properties

Methods