A simple mutable implementation of the INode interface that can be used stand-alone.

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


Visual Basic
Public Class SimpleNode _ Inherits AbstractLabeledItem _ Implements INode, IPortOwner, ILabeledItem, IModelItem, _ ILookup, ITagOwner


Note that this class is not the one used as the default implementation of a DefaultGraph's INodes and casting an INode to this class will most likely 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 node into a graphics context: Simply Instantiate a SimpleNode, associate a style with it and use the style's renderer instance to obtain a rendering for the node.

Inheritance Hierarchy


See Also