The interface for node entities in an IGraph.

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


public interface INode : IPortOwner, ILabeledItem, IModelItem, ILookup, ITagOwner
Visual Basic
Public Interface INode _ Inherits IPortOwner, ILabeledItem, IModelItem, ILookup, _ ITagOwner


This interface provides read-only access to the properties of a node. In order to modify the state of an instance use the various methods provided by the IGraph this instance belongs to. Nodes and edges are the main entities that make up an IGraph. Nodes have zero or more Ports to which zero or more edges can connect. IGraph provides the EdgesAt(IPortOwner, AdjacencyTypes) method for querying the edges that connect to nodes. Also it is possible to query the adjacent edges for each port that is owned by nodes. This interface combines the functionality of IPortOwner to get access to the ports, ILabeledItem to get access to the labels, and, like all items in an IGraph, nodes support the Lookup(Type) method inherited from the IModelItem interface can be used to query additional aspects of each instance.

Related Reading in the Developer's Guide

The graph model with all relevant types and their relationships is presented in detail in the section Graph Structure.

Using the look-up mechanism is explained in the section Look-up Mechanism.

Related Demo Applications

See the yFiles for Silverlight tutorials for step by step introductions.

See Also