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

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

Syntax

C#
public interface INodeStyle : IVisualStyle<INode>, IModelItemInstaller<INode>, ICloneable
Visual Basic
Public Interface INodeStyle _ Inherits IVisualStyle(Of INode), IModelItemInstaller(Of INode), _ ICloneable

Remarks

Implementations are responsible for rendering INode instances in a CanvasControl. It is up to the implementation to interpret the visual appearance of a node. The framework uses the associated, possibly shared Renderer to perform the actual rendering of this style for a given node. 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