IVisualStyle<(Of <(<'TModelItem>)>)> implementation for IEdge instances in an IGraph.

Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version:


public interface IEdgeStyle : IVisualStyle<IEdge>, IModelItemInstaller<IEdge>, ICloneable
Visual Basic
Public Interface IEdgeStyle _ Inherits IVisualStyle(Of IEdge), IModelItemInstaller(Of IEdge), _ ICloneable


Implementations are responsible for rendering IEdge instances in a CanvasControl. 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 Visual Representation of Graph Elements.

Related Demo Applications

The following programming samples are available: Also see the yFiles for Silverlight tutorials for step by step introductions.

Especially see the following tutorial steps:

See Also