The interface used to model edges in an IGraph implementation.

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


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


This interface provides read-only access to the properties of an edge. In order to modify the state of an instance use the various methods provided by the IGraph this instance belongs to. An edge connects to two ports and may consist of a number of bends. Also it can have zero or more labels. This interface combines the functionality of IPortOwner to get access to the ports that edges can optionally have, ILabeledItem to get access to the labels, and, like all items in an IGraph, edges support the Lookup(Type) method inherited from the IModelItem interface that 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