The common interface for items in an IGraph that may own ports.

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

Syntax

C#
public interface IPortOwner : IModelItem, ILookup, ITagOwner
Visual Basic
Public Interface IPortOwner _ Inherits IModelItem, ILookup, ITagOwner

Remarks

Typically this interface is actively implemented by INode's in an IGraph. To get to the edge instances that connect to the ports, the EdgesAt(IPortOwner, AdjacencyTypes) method can be used. Alternatively for each IPort in Ports, one can use the EdgesAt(IPort, AdjacencyTypes) method provided by IGraph. Like all items in an IGraph, this item supports the Lookup(Type) method that can be used to query additional aspects of the item.

See Also