The interface for node entities in an IGraph.
Namespace: yWorks.yFiles.UI.ModelAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public interface INode : IPortOwner, ILabeledItem, IModelItem, ILookup, ITagOwner |
| Visual Basic |
|---|
Public Interface INode _ Inherits IPortOwner, ILabeledItem, IModelItem, ILookup, _ ITagOwner |
Remarks
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.