The interface used to model edges in an IGraph implementation.
Namespace: yWorks.yFiles.UI.ModelAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public interface IEdge : IPortOwner, ILabeledItem, IModelItem, ILookup, ITagOwner |
| Visual Basic |
|---|
Public Interface IEdge _ Inherits IPortOwner, ILabeledItem, IModelItem, ILookup, _ ITagOwner |
Remarks
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.